pkosiec / golang-graphql-samples

Samples for using GraphQL in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphQL API Samples for Go

Sample apps written in Go using two popular solutions:

Sample app

Those apps use following GraphQL schema:

type Artist {
  id: ID!
  name: String!
  songs: [Song!]!
}

type Song {
  id: ID!
  title: String!
  duration: Float!
}

type Query {
  artist(id: ID!): Artist
  artists: [Artist!]!
}

About

Samples for using GraphQL in Go

License:MIT License


Languages

Language:Go 100.0%