/go-neptune

Primary LanguageGoMIT LicenseMIT

GoDoc Go Report Card CircleCI

go-neptune

Go graph database client for AWS Neptune via HTTP

Installation

$ go get -u github.com/amothic/go-neptune

Usage

import "github.com/amothic/go-neptune"

graph, err := neptune.Open("http://localhost:8182/gremlin")
if err != nil {
    panic(err.Error())
}
defer graph.Close()
data, err := graph.Query(`g.V()`)
if err != nil {
    panic(err.Error())
}
fmt.Println(string(data))