fill out the easy parts of the codegen

This commit is contained in:
Ben Kraft
2019-12-23 21:07:07 -05:00
parent efa9ccd122
commit 7a20e2ae74
5 changed files with 100 additions and 25 deletions
+3 -4
View File
@@ -20,11 +20,10 @@ func GetViewer(ctx context.Context) (*GetViewerResponse, error) {
http.MethodPost,
`https://api.github.com/graphql`,
strings.NewReader(`
"GetViewer gets the current user's name."
query GetViewer {
Viewer: viewer {
Name: name
}
Viewer: viewer {
Name: name
}
}
`))
if err != nil {
+1 -1
View File
@@ -1,4 +1,4 @@
"GetViewer gets the current user's name."
# GetViewer gets the current user's name.
query GetViewer {
Viewer: viewer {
Name: name