Categorygithub.com/volcengine/vegraph-go-sdk
repository
0.0.0-20230920080148-326cea8df138
Repository: https://github.com/volcengine/vegraph-go-sdk.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Volcengine Graph Storage SDK for Go-veGraph

English | 中文

VeGraph Go Client provides support for interacting with the graph database veGraph.

Usage Examples

func TestGremlin(t *testing.T) {
    ctx := context.Background()
    cli, err := client.NewClient(
        client.WithHostPort("host:port"),
        WithUserPwd("user", "password"),
        WithDefaultTable("default"),
    )
    assert.True(t, err == nil)
    elements, err := cli.Submit(ctx, "g.V().has('id',1).has('type',1001).properties()", "default")
    assert.True(t, err == nil)
    t.Logf("result=%#v", elements)
}

License

Apache License 2.0