Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 382 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 382 Bytes

GiQL

Elegant GraphiQL server handler for Go.

Usage

package main

import (
	"github.com/poohvpn/giql"
	"net/http"
)

func main() {
	http.HandleFunc("/", giql.New())
	// or http.HandleFunc("/", giql.New("http://example.com/graphql"))
	http.ListenAndServe(":8080", nil)
}

License

Apache License 2.0

Copyright 2021 PoohVPN