Skip to content

NebulaGraph Go

NebulaGraph Go is a Golang client for connecting to and managing the NebulaGraph database.

Prerequisites

You have installed Golang 1.13 or later versions.

Compatibility with NebulaGraph

See github.

Download NebulaGraph Go

  • (Recommended) To install a specific version of NebulaGraph Go, use the Git option --branch to specify the branch. For example, to install v3.7.0, run the following command:

    $ git clone --branch release-3.7 https://github.com/vesoft-inc/nebula-go.git
    
  • To install the daily development version, run the following command to download the source code from the master branch:

    $ git clone https://github.com/vesoft-inc/nebula-go.git
    

Install or update

Run the following command to install or update NebulaGraph Go:

$ go get -u -v github.com/vesoft-inc/nebula-go/v3@v3.7.0

API reference

Click here to check the functions and types provided by the GO Client.

Core of the example code

The NebulaGraph GO client provides both Connection Pool and Session Pool, using Connection Pool requires the user to manage the session instances.


Last update: February 1, 2024