Skip to content

cayleygraph/go-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Client for Cayley

Installation

go get -u github.com/cayleygraph/go-client

Usage

Log 10 nodes from the graph

package main

import (
    "context"
    "fmt"
    "github.com/cayleygraph/go-client"
)

func main() {
	c := client.NewAPIClient(client.NewConfiguration())
	result, _, _ := c.QueriesApi.Query(context.TODO(), "gizmo", "g.V().getLimit(10)")
	fmt.Printf("%v", result.Result)
}

Releases

No releases published

Packages

No packages published