Skip to content
Go http handler to serve the graphiql in-browser IDE
Branch: master
Clone or download
Pull request Compare This branch is 14 commits ahead of mnmtanish:master.
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.
example
html
.editorconfig
.gitignore
LICENSE
README.md
client.go
resolv_test.go
resolver.go
server.go

README.md

go-graphiql

Go http handler to serve the graphiql in-browser IDE.

package main

import (
	"net/http"

	"github.com/mnmtanish/go-graphiql"
)

func main() {
	http.HandleFunc("/graphql", myGraphQLHandler)
	http.HandleFunc("/", graphiql.ServeGraphiQL)
	http.ListenAndServe(":9001", nil)
}
You can’t perform that action at this time.