#1919th of 45 in Backend and cloud templates

gqlgen

Schema-first GraphQL server generator for Go with typed resolvers

Stars
10.8k
License
MIT
Last commit
Oct 2026
Last release
Oct 2026
Language
Go
Stars, last 29 weeks+125
21 Apr 2026: 10,647 stars28 Apr 2026: 10,656 stars5 May 2026: 10,661 stars12 May 2026: 10,666 stars19 May 2026: 10,668 stars26 May 2026: 10,672 stars2 Jun 2026: 10,676 stars9 Jun 2026: 10,678 stars16 Jun 2026: 10,683 stars23 Jun 2026: 10,691 stars30 Jun 2026: 10,698 stars7 Jul 2026: 10,701 stars14 Jul 2026: 10,706 stars21 Jul 2026: 10,711 stars28 Jul 2026: 10,716 stars4 Aug 2026: 10,718 stars11 Aug 2026: 10,725 stars18 Aug 2026: 10,731 stars25 Aug 2026: 10,735 stars1 Sept 2026: 10,738 stars8 Sept 2026: 10,741 stars15 Sept 2026: 10,745 stars22 Sept 2026: 10,748 stars29 Sept 2026: 10,749 stars6 Oct 2026: 10,752 stars13 Oct 2026: 10,756 stars20 Oct 2026: 10,760 stars27 Oct 2026: 10,764 stars3 Nov 2026: 10,768 stars10 Nov 2026: 10,772 stars

10,647 on 21 Apr 202610,772 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

gqlgen is a Go library and code generator that reads a GraphQL schema (SDL) and generates typed server code and models, so you only write resolver functions. Behavior is configured through gqlgen.yml or inline schema directives such as @goModel and @goField. It is not AI-specific; it fits only loosely in this list as a backend API starter.

Who it is for: Go developers building GraphQL APIs from a schema

Strengths

  • Schema-first: generates Go models and server code from GraphQL SDL
  • Typed output; README states no map[string]interface{} in generated code
  • Binds to your own Go structs via gqlgen.yml or @goModel directives
  • Field resolvers run concurrently in goroutines, with a configurable worker_limit

Weaknesses

  • No AI, model or agent features; it is a general GraphQL tool
  • Go only; requires running a generate step after schema changes
  • Remapping ID type has one default; the first listed model is always used
  • Nested fields need custom models or explicit resolvers to avoid over-fetching

What it needs

  • Go
  • Needs Go toolchain

Quick answers

Is gqlgen open source?

Yes. Its code is on GitHub under the MIT license.

Also in Backend and cloud templates

See all 45
Also in Backend and cloud templates
RankProjectScore
1fastapiPython web framework for typed REST APIs with automatic OpenAPI docs104.6k starsMIT90 out of 100
2fiberExpress-style HTTP web framework for Go, built on fasthttp40.3k stars+130 (+0.3%) in 30 daysMIT90 out of 100
3generator-jhipsterCode generator for Java apps with Angular, React or Vue frontends22.5k starsApache-2.090 out of 100
#4serverlessCLI that deploys AWS Lambda code and infrastructure from serverless.yml46.9k starscustom license88 out of 100
#5echoMinimalist Go web framework with a radix-tree router and middleware32.8k stars+73 (+0.2%) in 30 daysMIT86 out of 100