gqlgen is a Go library for building GraphQL servers without any fuss. You get to Define your API using the GraphQL Schema Definition Language. You should never see map[string]interface{} here. We generate the boring bits, so you can focus on building your app quickly. Still not convinced enough to use gqlgen? Compare gqlgen with other Go graphql implementations. You need to tell gqlgen that it should only fetch friends if the user requested it. gqlgen will be able to automatically bind to strings or ints for models you have written yourself. gqlgen is a schema-first library, before writing code, you describe your API using the GraphQL Schema Definition Language. By default this goes into a file called schema.graphql but you can break it up into as many different files as you want. By default gqlgen will use any models in the model directory that match on name.

Features

  • gqlgen is based on a Schema first approach
  • gqlgen prioritizes Type safety
  • gqlgen enables Codegen
  • Add gqlgen to your project’s tools.go
  • Initialize gqlgen config and generate models
  • Build GraphQL servers easily

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow gqlgen

gqlgen Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of gqlgen!

Additional Project Details

Programming Language

Go

Related Categories

Go Application Servers, Go Libraries

Registered

2021-09-21