Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thani-sh/go-graphiql

Go http handler to serve the graphiql in-browser IDE
https://github.com/thani-sh/go-graphiql

Last synced: about 1 month ago
JSON representation

Go http handler to serve the graphiql in-browser IDE

Awesome Lists containing this project

README

        

# go-graphiql

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

```go
package main

import (
"net/http"

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

func main() {
http.HandleFunc("/graphql", myGraphQLHandler)
http.HandleFunc("/", graphiql.ServeGraphiQL)
http.ListenAndServe(":9001", nil)
}
```