Files
genqlient/example
Adam Babik f0c2ac17a9 Move 'Code generated by' disclaimer up (#161)
`Code generated by` disclaimer should be at the top of the file, as it is demonstrated in [this article](https://go.dev/blog/generate) on The Go Blog.

The current placing breaks integration with some code formatters and linters which do no skip files generated by `genqlient`.
2021-12-20 10:04:13 -05:00
..
2021-09-15 10:48:50 -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.