Created
September 6, 2021 19:09
-
-
Save percybolmer/8210745d692eec71cd7424f8479439e2 to your computer and use it in GitHub Desktop.
GraphQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package gopher | |
// Has to conform to the schema declaration | |
type Gopher struct { | |
ID string `json:"id"` | |
Name string `json:"name"` | |
Hired bool `json:"hired"` | |
Profession string `json:"profession"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment