Registry / database / neo4j-neo4j-go-driver

neo4j-neo4j-go-driver

JSON →
library1.8.3gogounverified

Official Neo4j driver for Go, enabling interaction with Neo4j graph databases.

go get github.com/neo4j/neo4j-go-driver
INSTALL
IMPORT
SIG · NEO4J-NEO4J-GO-DRI
N
neo4j-neo4j-go-driver
databasegov1.8.3
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

Connects to Neo4j and creates a node

package main import ( "fmt" "github.com/neo4j/neo4j-go-driver/neo4j" ) func main() { driver, _ := neo4j.NewDriver("bolt://localhost:7687", neo4j.BasicAuth("neo4j", "password", "")) defer driver.Close() session, _ := driver.Session(neo4j.AccessModeWrite) defer session.Close() result, _ := session.Run("CREATE (n:Person {name: $name}) RETURN n", map[string]interface{}{"name": "Alice"}) fmt.Println(result) }
Debug
Known issues
breakingVersion 1.x is legacy; consider upgrading to v5 for new features and support.
fix
Use github.com/neo4j/neo4j-go-driver/v5/neo4j
affects: >=1.0.0 <5.0.0
Upgrade
Version history
1.8.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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