99designs / gqlgen Architecture and code health
go generate based graphql server library
This connects Repowise to 99designs/gqlgen's code. It does not install gqlgen.
Repowise maps public repos from their source. Not affiliated with 99designs. What is Repowise?
github.com/99designs/gqlgenIndexed at 8a12bb6
What is gqlgen?
gqlgen is a Go library for building GraphQL servers. You define the API in the GraphQL Schema Definition Language, and gqlgen generates Go code for models and boilerplate from that schema. The project is written in Go. To install it, run git clone https://github.com/99designs/gqlgen.git and follow the steps below. Its code health is 7.4 out of 10 (Good), ranked #110 of 4,000+ indexed repos. The last commit to gqlgen was on May 31, 2026.
As of commit 8a12bb6, indexed Jun 1, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentsgqlgen.md
Repo facts: type, license, health, rank, contributors
| License | MIT |
|---|---|
| Code health | 7.4 / 10 (Good) |
| Health rank | #110 of 4,000+ indexed repos |
| Last commit | May 31, 2026 |
| Bus factor | 9 |
| Size | 883 files, 44,909 lines |
Install gqlgen
Commands copied from the README
- 1Clone the gqlgen repository.
git clone https://github.com/99designs/gqlgen.git - 2Move into the gqlgen folder.
cd gqlgen - 3Create a project directory and initialise a Go module inside it
mkdir example - 4Initialise the gqlgen config and generate models
go tool gqlgen init - 5Start the GraphQL server
go run server.go
Releases on GitHub (latest v0.17.98, Oct 22, 2026)
Explore gqlgen
- DocumentationModule-by-module documentation, written from the source.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
Ask about this code in your agent
This connects Repowise to gqlgen's code. It does not install gqlgen. To install gqlgen, use the install steps.
Useful if you want to change or fork gqlgen: your agent can ask how it is put together and get answers that cite its files.
Ask about gqlgen
Answers come from gqlgen's README and source, with the files they cite. Two free answers a day without an account.
Want this for your own codebase? Map your repo free
About this page
Get a page like this for your own codebase
Repowise built this map of 99designs/gqlgen from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
99designs/gqlgen FAQ
What is gqlgen?
gqlgen is a Go library for building GraphQL servers from a schema written in the GraphQL Schema Definition Language. It generates Go code for models so you do not have to write that boilerplate by hand.
How does gqlgen work?
gqlgen reads your GraphQL schema and a gqlgen.yml config file, then generates Go code that your server is built on. You then implement the resolver functions it requires, and field resolvers run concurrently in separate goroutines.
What language is gqlgen written in?
gqlgen is written in Go, which is its primary language. The repository also contains some shell, TypeScript, JavaScript, Dockerfile and Makefile files.
How is the gqlgen code organized?
gqlgen keeps the code generator in the codegen directory and plugins such as federation in the plugin directory. The graphql directory holds the runtime types, and _examples holds sample applications.
When should I use gqlgen?
Use gqlgen when you are building a GraphQL server in Go and want to start from a schema you define in the GraphQL Schema Definition Language. It generates the Go code that the server is built on.
What license does gqlgen use?
gqlgen is released under the MIT license.
Code health
Hotspots average 5.5, the place fixes pay off most.
On the leaderboards:#7 of 28 Go repos
Key features of gqlgen
- Lets you define the API with the GraphQL Schema Definition Language, following a schema first approach.
- Generates Go models and boilerplate code from the schema so you can focus on application code.
- Prioritises type safety, so generated code avoids map[string]interface{}.
- Lets you remap GraphQL types such as ID to Go types like int, string or uint in the config file.
- Runs field resolvers concurrently in separate goroutines, with the degree of concurrency set by the worker_limit configuration attribute.
How 99designs/gqlgen works
The input is a GraphQL schema together with a gqlgen.yml config file, which the code generator reads. The codegen directory, the largest module by file count, holds that generator and its testserver packages, which check the generated output. The plugin directory contains plugins that extend generation, such as the federation plugin under plugin/federation. The graphql directory provides the runtime library that generated servers use, including ID types such as graphql.ID, graphql.IntID and graphql.UintID. The docs directory holds documentation, and the _examples directory contains sample applications built with gqlgen. Your own resolver code is written against the generated types.
The codebase has 883 files and 3,354 symbols in 15 modules, led by Go, Shell and TypeScript. Code health is 7.3 out of 10, rated good.
Maintain 99designs/gqlgen?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of 99designs/gqlgen. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask gqlgen's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/99designs/gqlgen?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/99designs/gqlgen?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/99designs/gqlgen.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/99designs/gqlgen?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/99designs/gqlgen.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/99designs/gqlgen.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>