# gqlgen

Go library for building GraphQL servers from a GraphQL schema, with Go code generated from it.


Source: https://findsoftware.frbit.cloud/gqlgen/
Last reviewed: 2026-11-09
Listed since: 2026-11-09

## Record

### Links

- home: https://gqlgen.com
- repository: https://github.com/99designs/gqlgen
- docs: https://gqlgen.com/getting-started/

### Identity

- status: active
- maintainer: 99designs
- maintainerType: unknown
- parent: unknown
- firstRelease: 2018
- hqCountry: unknown

### Kind

- category: backend
- hosting: binary
- language: go
- runtime: binary
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: unknown
- i18n: unknown

### Rendering and deploy

- runsAs: unknown
- renderingModes: unknown
- installMethod: go get -tool (Go tool dependency)

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 0
- latestReleaseDate: 2026-10-22

### Adoption

- githubStargazers: 10768
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 420
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 3167
- dependentPackages: 2651

### Sources

- urls: https://gqlgen.com/ (read 2026-11-09)
- urls: https://api.github.com/repos/99designs/gqlgen (read 2026-11-09)
- urls: https://raw.githubusercontent.com/99designs/gqlgen/master/README.md (read 2026-11-09)
- language: https://api.github.com/repos/99designs/gqlgen (read 2026-11-09)
- category: https://raw.githubusercontent.com/99designs/gqlgen/master/README.md (read 2026-11-09)
- runtime: https://raw.githubusercontent.com/99designs/gqlgen/master/README.md (read 2026-11-09)
- installMethod: https://gqlgen.com/getting-started/ (read 2026-11-09)
- license: https://api.github.com/repos/99designs/gqlgen (read 2026-11-09)
- licenseModel: https://api.github.com/repos/99designs/gqlgen (read 2026-11-09)
- maintainer: https://api.github.com/users/99designs (read 2026-11-09)
- firstRelease: https://api.github.com/repos/99designs/gqlgen/releases/tags/0.2.0 (read 2026-11-09)
- currentMajor: https://api.github.com/repos/99designs/gqlgen/releases/tags/v0.17.98 (read 2026-11-09)
- latestReleaseDate: https://api.github.com/repos/99designs/gqlgen/releases/tags/v0.17.98 (read 2026-11-09)
- githubStargazers: https://api.github.com/repos/99designs/gqlgen (read 2026-11-09)
- contributors: https://api.github.com/repos/99designs/gqlgen/contributors?per_page=1 (read 2026-11-09)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2F99designs%2Fgqlgen (read 2026-11-09)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2F99designs%2Fgqlgen (read 2026-11-09)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
