@@ -5,7 +5,7 @@ title: Neo4j
55
66A Neo4j storage driver using [ neo4j/neo4j-go-driver] ( https://github.com/neo4j/neo4j-go-driver ) .
77
8- > ** Note: Requires latest two release of Golang**
8+ > ** Note: Requires latest two releases of Golang**
99
1010### Table of Contents
1111
@@ -53,10 +53,10 @@ You can use the following possibilities to create a storage:
5353
5454```go
5555// Initialize default config
56- store := neo4j .New()
56+ store := neo4jstore .New()
5757
5858// Initialize custom config
59- store := neo4j .New(neo4jstore.Config{
59+ store := neo4jstore .New(neo4jstore.Config{
6060 DB: driver,
6161 Node: " fiber_storage" ,
6262 Reset: false ,
@@ -71,7 +71,7 @@ store := neo4j.New(neo4jstore.Config{
7171type Config struct {
7272 // Connection pool
7373 //
74- // DB neo4j.DriverWithContext object will override connection uri and other connection fields.
74+ // DB neo4j.DriverWithContext object will override connection URI and other connection fields.
7575 //
7676 // Optional. Default is nil.
7777 DB neo4j.DriverWithContext
@@ -108,12 +108,12 @@ type Config struct {
108108 // Optional. Default is "fiber_storage"
109109 Node string
110110
111- // Reset clears any existing keys in existing Table
111+ // Reset clears any existing keys (Nodes)
112112 //
113113 // Optional. Default is false
114114 Reset bool
115115
116- // Time before deleting expired keys
116+ // Time before deleting expired keys (Nodes)
117117 //
118118 // Optional. Default is 10 * time.Second
119119 GCInterval time.Duration
0 commit comments