
gqlgen
Go library for building GraphQL servers from a GraphQL schema, with Go code generated from it.
gqlgen generates Go code for a GraphQL server from a schema written in the GraphQL schema definition language. The README describes the approach as schema first: the developer defines the API in the schema, and the generated code calls resolvers that the developer implements.
A project adds gqlgen as a Go tool dependency, runs its init command to create the project layout, and regenerates the code from the schema with its generate command. The getting-started tutorial walks through these steps.
Worth knowing
Field resolvers run concurrently in separate goroutines. The worker_limit setting in the configuration sets how many run at once.
Sources
- 2026-11-09: links
gqlgen.com/ - 2026-11-09: links, Written in, License, License model, GitHub stars
api.github.com/repos/99designs/gqlgen - 2026-11-09: links, Categories, Runtime
raw.githubusercontent.com/99designs/gqlgen/master/README.md - 2026-11-09: Install with
gqlgen.com/getting-started/ - 2026-11-09: Maintainer
api.github.com/users/99designs - 2026-11-09: First release
api.github.com/repos/99designs/gqlgen/releases/tags/0.2.0 - 2026-11-09: Current major version, Last release
api.github.com/repos/99designs/gqlgen/releases/tags/v0.17.98 - 2026-11-09: Contributors
api.github.com/repos/99designs/gqlgen/contributors?per_page=1 - 2026-11-09: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2F99designs%2Fgqlgen