IMPORTANT: Code of Nebula go client has been transferred from nebula-clients to this repository(nebula-go), and new releases in the future will be published in this repository. Please update your go.mod and imports correspondingly.
Official Nebula Go client which communicates with the server using fbthrift. Currently the latest stable release is v2.0.0-ga
The code in master branch will be updated to accommodate the nightly changes made in Nebula Graph. To Use the console with a stable release of Nebula Graph, please check the branches and use the corresponding version.
| Client version | Nebula Service Version |
|---|---|
| v1.0.0 | 1.x.x |
| v2.0.0-beta | 2.0.0-beta |
| v2.0.0-rc1 | 2.0.0-rc1 |
| v2.0.0-ga | 2.0.0-ga |
| v2.0.0-master | 2.0.0-nightly |
Please be careful not to modify the files in the nebula directory, these codes were all generated by fbthrift.
$ go get -u -v github.com/vesoft-inc/nebula-go@masterYou can specify the version of Nebula-go by substituting <branch> in $ go get -u -v github.com/vesoft-inc/nebula-go@<branch>.
Note: You will get a message like:
$ go get -u -v github.com/vesoft-inc/nebula-go@master go: github.com/vesoft-inc/nebula-go master => v1.1.1-0.20210416024212-052593cefbb9Here the
v1.1.1-xxxxis a version tag auto-generated by Github. The version of nebula-go is only relevant to the branch. According to the Golang module convention, a dependency with a version >=2.0 has to be in the secondary directory. To reduce confusion, we put different versions of nebula-go to corresponding branches.