Last active
November 12, 2018 15:52
-
-
Save ali-ince/3c393db1d27ec3559647d5cd94f8478e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ( | |
driver neo4j.Driver | |
err error | |
) | |
if driver, err = neo4j.NewDriver(uri, neo4j.BasicAuth(username, password, ""), func(config *neo4j.Config) { | |
config.Log = neo4j.ConsoleLogger(neo4j.ERROR) | |
}); err != nil { | |
return err | |
} | |
defer driver.Close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment