Files
genqlient/example
673840e495 Picking some nits that my IDE complained about (#91)
* Picking some nits that my IDE complained about

Signed-off-by: Steve Coffman <[email protected]>

* Update graphql/util.go

Co-authored-by: Ben Kraft <[email protected]>

* revert to original for comment

Signed-off-by: Steve Coffman <[email protected]>

Co-authored-by: Ben Kraft <[email protected]>
2021-09-14 13:42:47 -04:00
..
2021-08-20 10:39:12 -07:00
2021-04-02 17:01:49 -07:00

example of genqlient

Invoking the example

Create a personal access token with no scopes.

To run the example:

$ GITHUB_TOKEN=<your token> go run ./cmd/example/main.go <username>
you are Ben Kraft
csilvers is Craig Silverstein

Running genqlient

It's already checked in to GitHub, but to regenerate generated.go:

go generate ./...

Generating the schema file

The schema file is also checked in, but to update it, download from the GitHub API documentation.