Created
September 9, 2021 12:31
-
-
Save percybolmer/65bcaaaec72e6da2354ce1aa281f92bb 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
func main() { | |
gopherService := gopher.NewService( | |
gopher.NewMemoryRepository(), | |
job.NewMemoryRepository(), | |
) | |
schema, err := schemas.GenerateSchema(&gopherService) | |
if err != nil { | |
panic(err) | |
} | |
StartServer(schema) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment