Skip to content

Commit d23bf7a

Browse files
Peter Wilhelmsson2hdddg
authored andcommitted
Updated readme on how to use driver as go module
1 parent ad79bb3 commit d23bf7a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ This is the the official Neo4j Go Driver.
44

55
## Getting the Driver
66

7-
### With `dep`
7+
### Module version
88

9-
Add the driver as a dependency with `dep ensure -add github.com/neo4j/neo4j-go-driver/neo4j`
9+
Make sure your application has been setup to use go modules (there should be a go.mod file in your application root). Add the driver with:
10+
11+
`go mod edit -require github.com/neo4j/neo4j-go-driver@<the tag>`
1012

1113
### With `go get`
1214

0 commit comments

Comments
 (0)