用于 Golang 的 Neo4j 客户端
Package neoism is a Go client library providing access to
the Neo4j graph database via its REST API.
| System | Status |
|---|---|
| Travis CI | |
| CircleCI | |
| Coveralls | |
| Codecov |
This driver is fairly complete, and may now be suitable for general use. The code has an extensive set of integration tests, but little real-world testing. YMMV; use in production at your own risk.
Go 1.1 or later is required.
Tested against Neo4j 2.2.4 and Go 1.4.1.
go get -v github.com/jmcvetta/neoismNeoism is versioned using gopkg.in.
Current release is v1
go get gopkg.in/jmcvetta/neoism.v1See GoDoc or Go Walker for automatically generated documentation.
db, err := neoism.Connect("http://localhost:7474/db/data")n, err := db.CreateNode(neoism.Props{"name": "Captain Kirk"})……Neoism's test suite respects, but does not require, a NEO4J_URL environment
variable. By default it assumes Neo4j is running on localhost:7474, with
username neo4j and password foobar.
export NEO4J_URL=http://your_user:[email protected]/db/data/
go test -v .If you are using a fresh untouched Neo4j instance, you can use the included
set_neo4j_password.sh script to set the password to that expected by Neoism's
tests:
sh set_neo4j_password.shSupport and consulting services are available from Silicon Beach Heavy Industries.
Contributions in the form of Pull Requests are gladly accepted. Before submitting a PR, please ensure your code passes all tests, and that your changes do not decrease test coverage. I.e. if you add new features also add corresponding new tests.
This is Free Software, released under the terms of the GPL v3.
暂无开放 Issues,或尚未同步最近议题。