Give up on running example in GitHub Actions for now

This commit is contained in:
Ben Kraft
2020-03-27 16:27:08 -07:00
parent 8df2900607
commit 6caa3fc6c4
3 changed files with 10 additions and 7 deletions
+6
View File
@@ -48,6 +48,12 @@ func Main() {
}
graphqlClient := graphql.NewClient("https://api.github.com/graphql", &httpClient)
viewerResp, err := getViewer(context.Background(), graphqlClient)
if err != nil {
return
}
fmt.Println("you are", *viewerResp.Viewer.MyName)
userResp, err := getUser(context.Background(), graphqlClient, username)
if err != nil {
return