Skip to content

Instantly share code, notes, and snippets.

@ali-ince
Last active November 9, 2018 15:11
Show Gist options
  • Save ali-ince/854048f837bf1c78e1fdf4d2cea22e59 to your computer and use it in GitHub Desktop.
Save ali-ince/854048f837bf1c78e1fdf4d2cea22e59 to your computer and use it in GitHub Desktop.
var (
session neo4j.Session
err error
)
if session, err = driver.Session(neo4j.AccessModeRead); err != nil {
return err
}
defer session.Close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment