# gqlgen GraphQL API

gqlgen is a schema-first Go library for building type-safe GraphQL servers. It takes a GraphQL SDL schema as input and generates Go server-side boilerplate — resolver interfaces, model structs, and a fully wired execution engine — so developers only write business logic. It is not a hosted API service; it is an open-source code-generation tool that produces the GraphQL server you deploy.

Key capabilities include automatic resolver scaffolding, DataLoader integration for batching, subscription support over WebSocket, middleware hooks, OpenTelemetry tracing, and a plugin system for extending code generation.

**Endpoint:** N/A - library/tooling, no hosted endpoint

**Documentation:** https://gqlgen.com/getting-started/

**References:**
- Documentation: https://gqlgen.com/getting-started/
- GitHub: https://github.com/99designs/gqlgen
- Go package: https://pkg.go.dev/github.com/99designs/gqlgen
- Configuration reference: https://gqlgen.com/config/
- Tutorial (todo app): https://gqlgen.com/getting-started/
