Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Solender committed Aug 2, 2021
1 parent 8b01fe8 commit c77ef06
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ go get -u github.com/mindstand/gogm/v2
- Driver has been updated from v1.6 to v4
- Log interface, so anyone can use the logger of their choice instead of being forced to use logrus
- Primary Key strategies to use any type of primary key. GoGM is no longer UUID only!
- TLS now supported


## Usage
Expand Down Expand Up @@ -146,11 +147,14 @@ func main() {
config := gogm.Config{
Host: "0.0.0.0",
Port: 7687,
IsCluster: false, //tells it whether or not to use `bolt+routing`
// deprecated in favor of protocol
// IsCluster: false,
Protocol: "neo4j", //also supports neo4j+s, neo4j+ssc, bolt, bolt+s and bolt+ssc
// Specify CA Public Key when using +ssc or +s
CAFileLocation: "my-ca-public.crt",
Username: "neo4j",
Password: "password",
PoolSize: 50,
Encrypted: false,
IndexStrategy: gogm.VALIDATE_INDEX, //other options are ASSERT_INDEX and IGNORE_INDEX
TargetDbs: nil,
// default logger wraps the go "log" package, implement the Logger interface from gogm to use your own logger
Expand Down Expand Up @@ -311,7 +315,6 @@ Inspiration came from the Java OGM implementation by Neo4j.
## Road Map
- Schema Migration
- Errors overhaul using go 1.13 error wrapping
- TLS Support

## How you can help
- Report Bugs
Expand Down

0 comments on commit c77ef06

Please sign in to comment.