Skip to content

Go http handler to serve the graphiql in-browser IDE

License

Notifications You must be signed in to change notification settings

kadirahq/go-graphiql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Go http handler to serve the graphiql in-browser IDE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%