f0c2ac17a9
`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`.
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.