Registry / database / neo4j-neo4j-go-driver-v4

neo4j-neo4j-go-driver-v4

JSON →
library4.4.8gogounverified

Official Go driver for the Neo4j graph database.

go get github.com/neo4j/neo4j-go-driver/v4
INSTALL
IMPORT
SIG · NEO4J-NEO4J-GO-DRI
N
neo4j-neo4j-go-driver-v4
databasegov4.4.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

neo4j
github.com/neo4j/neo4j-go-driver/v4/neo4j

Shows how to create a Neo4j driver instance.

package main import ( "fmt" "github.com/neo4j/neo4j-go-driver/v4/neo4j" ) func main() { driver, err := neo4j.NewDriver("bolt://localhost:7687", neo4j.BasicAuth("neo4j", "password", "")) if err != nil { panic(err) } defer driver.Close() fmt.Println("Connected!") }
Debug
Known issues
breakingDriver v4 uses a different API than v5; ensure compatibility with your Neo4j server version.
fix
Upgrade to v5 for newer Neo4j versions or stick with v4 for older ones.
affects: >=4.0.0 <5.0.0
Upgrade
Version history
4.4.8latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
neo4j-neo4j-go-driver-v4 — go get neo4j-neo4j-go-driver-v4 · libregistry