github.com/mnmtanish/go-graphiql

Go http handler to serve the graphiql in-browser IDE


License
MIT
Install
go get github.com/mnmtanish/go-graphiql

Documentation

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)
}