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
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start 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