Welcome to TigerGo, a Go TigerGraph wrapper! To get started, check out the documentation here!
To get started, get the package in Go.
go get github.com/GenericP3rson/TigerGo
You can then import the library in your code and create a TigerGraph connection. If you do nnot immediately have a token, that's okay! You can leave it blank, run conn.GetToken
, then update the token!
package main
import(
"fmt"
"github.com/GenericP3rson/TigerGo"
)
func main() {
conn := TigerGo.TigerGraphConnection{
Token: "", // Leaving it empty for now
Host: "https://SUBDOMAIN.i.tgcloud.io",
GraphName: "GRAPHNAME",
Username: "tigergraph",
Password: "PASSWORD"
}
fmt.Println(conn.GetToken())
}
Check out an introduction to some of the features of this library with TigerGraph's COVID-19 Starter Kit here!
Check out how to use TigerGo with Gin Gonic to build a graph-powered web server here.