Set up a test

This commit is contained in:
Ben Kraft
2020-03-27 15:57:22 -07:00
parent 9ae5f71bce
commit 9074926cea
6 changed files with 58 additions and 18 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Get a token from [GitHub](https://github.com/settings/tokens/new) (no scopes nee
To run the example:
```sh
$ KEY=<your token> go run ./cmd/example/main.go <username>
$ GITHUB_TOKEN=<your token> go run ./cmd/example/main.go <username>
you are Ben Kraft
csilvers is Craig Silverstein
```
+2 -1
View File
@@ -1,6 +1,7 @@
// Code generated by github.com/Khan/genql, DO NOT EDIT.
package example
// Code generated by github.com/Khan/genql, DO NOT EDIT.
import (
"context"