# Using GraphQL with Golang

DevFeed: [Using GraphQL with Golang](<https://devfeed.tech/articles/using-graphql-with-golang-23562.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/using-graphql-with-golang>)

Author: Cathleen Turner

Published: 2021-10-06T09:01:25Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [API](<https://devfeed.tech/topics/api.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [backend](<https://devfeed.tech/tags/backend.md>), [golang](<https://devfeed.tech/tags/golang.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

This tutorial explains how to use the schema-first gqlgen library with Golang to build a GraphQL backend API. It introduces prerequisites, compares code-first and schema-first approaches, and begins building an API for querying and mutating Outer Banks character data.

## Source excerpt

Golang is a fast and modern programming language that helps you build simple, reliable, and efficient software. If you've been wondering how to build a backend API with GraphQL and Golang, you'll be pleased to know that there are some great community-supported libraries that help you do just that. In this tutorial, we'll learn how to use the gqlgen library to build a simple GraphQL API with Golang.