From 85b4a99042034545f62da3ad8be99d059791b40e Mon Sep 17 00:00:00 2001 From: i9 Date: Mon, 3 Feb 2025 23:57:31 +0100 Subject: [PATCH 1/2] Update README.md --- neo4j/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/neo4j/README.md b/neo4j/README.md index bebbbdab..3c359223 100644 --- a/neo4j/README.md +++ b/neo4j/README.md @@ -5,7 +5,7 @@ title: Neo4j A Neo4j storage driver using [neo4j/neo4j-go-driver](https://github.com/neo4j/neo4j-go-driver). -> **Note: Requires latest two release of Golang** +> **Note: Requires latest two releases of Golang** ### Table of Contents @@ -53,7 +53,7 @@ You can use the following possibilities to create a storage: ```go // Initialize default config -store := neo4j.New() +store := neo4jstore.New() // Initialize custom config store := neo4j.New(neo4jstore.Config{ @@ -71,7 +71,7 @@ store := neo4j.New(neo4jstore.Config{ type Config struct { // Connection pool // - // DB neo4j.DriverWithContext object will override connection uri and other connection fields. + // DB neo4j.DriverWithContext object will override connection URI and other connection fields. // // Optional. Default is nil. DB neo4j.DriverWithContext @@ -108,12 +108,12 @@ type Config struct { // Optional. Default is "fiber_storage" Node string - // Reset clears any existing keys in existing Table + // Reset clears any existing keys (Nodes) // // Optional. Default is false Reset bool - // Time before deleting expired keys + // Time before deleting expired keys (Nodes) // // Optional. Default is 10 * time.Second GCInterval time.Duration From f2a5ba2e7ca7bc30274ce07ee800ead9b2f7e424 Mon Sep 17 00:00:00 2001 From: i9 Date: Tue, 4 Feb 2025 00:00:38 +0100 Subject: [PATCH 2/2] Update README.md --- neo4j/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo4j/README.md b/neo4j/README.md index 3c359223..c7744961 100644 --- a/neo4j/README.md +++ b/neo4j/README.md @@ -56,7 +56,7 @@ You can use the following possibilities to create a storage: store := neo4jstore.New() // Initialize custom config -store := neo4j.New(neo4jstore.Config{ +store := neo4jstore.New(neo4jstore.Config{ DB: driver, Node: "fiber_storage", Reset: false,