Skip to content

Instantly share code, notes, and snippets.

@ali-ince
Last active November 12, 2018 15:52
Show Gist options
  • Save ali-ince/3c393db1d27ec3559647d5cd94f8478e to your computer and use it in GitHub Desktop.
Save ali-ince/3c393db1d27ec3559647d5cd94f8478e to your computer and use it in GitHub Desktop.
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