Files
Craig Silverstein e3227388fe Rename the query constant to have an underscore in it. (#241)
We got reports of conflicts with the old constant-name and symbols that
people were defining in their app.
2022-11-22 14:12:38 -08:00
..
2022-03-30 13:48:01 -07:00
2021-09-15 10:48:50 -07:00
2021-09-15 10:48:50 -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 . <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.