Example of using Go to create a graphql API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
README.md
main.go

README.md

example-go-graphql

Example of using Go to create a graphql API

Start with go run main.go

Go to http://localhost:3000/graphql using GraphiQL

Set off queries such as:

query {
  post(id: 5) {
    userId
    id
    body
    title
    comments {
      id
      email
      name
    }
  }
}