in this article we will create an (almost) identical server as in the NodeJS tutorial above, but with Go.
There are many GraphQL implementations in Go: I will pick this one, for its readability.
This tutorial won’t be a blind copy-paste follow along; it is more of a sequence of annotated snippets. Feel free to separate your code into files and packages as we go.
Prerequisite knowledge: awareness of these Go concepts: structs, methods on structs, pointers, and channels (for subscriptions).
Also how to install and use other packages in your go project. A glance over the GraphQL query and schema languages would also be helpful.
#go #servers #graphql