gqlgen
Go generate based graphql server library
... to strings or ints for models you have written yourself. gqlgen is a schema-first library, before writing code, you describe your API using the GraphQL Schema Definition Language. By default this goes into a file called schema.graphql but you can break it up into as many different files as you want. By default gqlgen will use any models in the model directory that match on name.