# Neo4j/neo4j-go-driver - just not able to make this it build

**URL:** <https://community.neo4j.com/t/neo4j-neo4j-go-driver-just-not-able-to-make-this-it-build/36507>\
**Category:** Go\
**Created:** [April 7, 2021, 10:09pm UTC](https://community.neo4j.com/t/neo4j-neo4j-go-driver-just-not-able-to-make-this-it-build/36507 "2021-04-07T22:09:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremy2](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/jeremy2/32/16159_2.png) [@jeremy2](https://community.neo4j.com/u/jeremy2)\
**Post date:** [April 7, 2021, 10:09pm UTC](https://community.neo4j.com/t/neo4j-neo4j-go-driver-just-not-able-to-make-this-it-build/36507/1 "2021-04-07T22:09:39Z")

</div>

> **[GitHub - neo4j/neo4j-go-driver: Neo4j Bolt Driver for Go](https://github.com/neo4j/neo4j-go-driver)**
>
> Neo4j Bolt Driver for Go. Contribute to neo4j/neo4j-go-driver development by creating an account on GitHub.

Just wondering has anyone got any success with this driver ? I've tried and tried to get v1/v4 versions working with no success.

I've tried using the example @ [Using Neo4j from Go - Developer Guides](https://neo4j.com/developer/go/) - yet that looks like it's not really reflecting the driver.

I've tried using the instructions @ [GitHub - neo4j/neo4j-go-driver: Neo4j Bolt Driver for Go](https://github.com/neo4j/neo4j-go-driver) - to no success.

Could someone point me to a place where a know working version is working + possible a sample code - I wish to connect to a 4.x version of Neo ?

I hope it's me and not something that is flakey with the neo4j go driver build on GitHub.

Up until now I've used the trusty gopkg.in/cq.v1 drive - however that is not able to connect to 4.x versions.

Thanks in-advance.

Kind regards

---

<div class="post-metadata">

**Author:** ![florent\_biville](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/florent_biville/32/14205_2.png) [@florent\_biville](https://community.neo4j.com/u/florent_biville)\
**Post date:** [April 8, 2021, 9:18am UTC](https://community.neo4j.com/t/neo4j-neo4j-go-driver-just-not-able-to-make-this-it-build/36507/2 "2021-04-08T09:18:26Z")

</div>

Hello,

You can find such an example here: [GitHub - neo4j-examples/movies-golang-bolt: Neo4j Movies Example application with built-in HTTP server using the neo4j-go-driver](https://github.com/neo4j-examples/movies-golang-bolt).  
If you could pinpoint what's missing or wrong in the README of the driver repo, that would be awesome!

Thanks!

---

<div class="post-metadata">

**Author:** ![florent\_biville](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/florent_biville/32/14205_2.png) [@florent\_biville](https://community.neo4j.com/u/florent_biville)\
**Post date:** [April 8, 2021, 9:27am UTC](https://community.neo4j.com/t/neo4j-neo4j-go-driver-just-not-able-to-make-this-it-build/36507/3 "2021-04-08T09:27:21Z")

</div>

I also noticed the developer guide is fairly outdated, so I'm going to update it now.

---

<div class="post-metadata">

**Author:** ![jeremy2](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/jeremy2/32/16159_2.png) [@jeremy2](https://community.neo4j.com/u/jeremy2)\
**Post date:** [April 8, 2021, 2:19pm UTC](https://community.neo4j.com/t/neo4j-neo4j-go-driver-just-not-able-to-make-this-it-build/36507/4 "2021-04-08T14:19:56Z")

</div>

Thanks - I'll work with the movie example/I've been able to build and run. Would be very nice just have a few very simple example/s -

1. Create (cypher)
2. Read (cypher)

The movie repo I guess is nice for some / but ideally missing the point as really a simple base example.

Kind regards

---

<div class="post-metadata">

**Author:** ![florent\_biville](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/florent_biville/32/14205_2.png) [@florent\_biville](https://community.neo4j.com/u/florent_biville)\
**Post date:** [April 8, 2021, 2:32pm UTC](https://community.neo4j.com/t/neo4j-neo4j-go-driver-just-not-able-to-make-this-it-build/36507/5 "2021-04-08T14:32:43Z")

</div>

What about this example: [GitHub - neo4j/neo4j-go-driver: Neo4j Bolt Driver for Go](https://github.com/neo4j/neo4j-go-driver#minimum-viable-snippet)? What should be added in your opinion?

---

<div class="post-metadata">

**Author:** ![jeremy2](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/jeremy2/32/16159_2.png) [@jeremy2](https://community.neo4j.com/u/jeremy2)\
**Post date:** [April 8, 2021, 2:51pm UTC](https://community.neo4j.com/t/neo4j-neo4j-go-driver-just-not-able-to-make-this-it-build/36507/6 "2021-04-08T14:51:04Z")

</div>

Thanks , I've got that working - my troubles seems to have been linked to the mod file + using docs which do not really reflect the current driver.

As I mentioned - it would be super useful to have super basic example/s of the core functions - create / match type - without more complexity. Whom ever wrote that last example certainly created complexity where it's not needed - just hides the core - Keep it simple would be great for sample code. A little annoying that the use as dev's has to de-crypt that code to get back to the basics.

Thanks again.

---

<div class="post-metadata">

**Author:** ![florent\_biville](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/florent_biville/32/14205_2.png) [@florent\_biville](https://community.neo4j.com/u/florent_biville)\
**Post date:** [April 8, 2021, 3:06pm UTC](https://community.neo4j.com/t/neo4j-neo4j-go-driver-just-not-able-to-make-this-it-build/36507/7 "2021-04-08T15:06:15Z")

</div>

I'm not sure how we can simplify the README example further since it's a small single-file Go program already.  
What should be removed there in your opinion? Feel free to copy the contents in a GitHub gist and share the reduced version you'd like to see there, that would be super useful.
