Please see the package documentation at https://godoc.org/github.com/skaiworldwide-oss/agensgraph-golang for the detailed documentation and basic usage examples.
You may run the following command to test AgensGraph Go Driver optional -ag.test.server
flag for server test.
sh go test
For the server test, the environment variables listed at here can be used to set connection parameter values. There are two environment variables set by the test code; PGDATABASE=postgres
and PGSSLMODE=disable
.