Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thani-sh/go-graphiql
- Owner: thani-sh
- License: mit
- Created: 2016-03-19T07:07:45.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-24T10:13:22.000Z (over 5 years ago)
- Last Synced: 2024-10-18T06:10:53.705Z (3 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 19
- Watchers: 2
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - thani-sh/go-graphiql - Go http handler to serve the graphiql in-browser IDE (Go)
README
# go-graphiql
Go http handler to serve the graphiql in-browser IDE.
```go
package mainimport (
"net/http""github.com/mnmtanish/go-graphiql"
)func main() {
http.HandleFunc("/graphql", myGraphQLHandler)
http.HandleFunc("/", graphiql.ServeGraphiQL)
http.ListenAndServe(":9001", nil)
}
```