/play-with-gql-go

Playground for golang + grahql-go.

Primary LanguageGoMIT LicenseMIT

play-with-gql-go

Playground for golang + grahql-go.

Includes these examples.

  • How to use "github.com/graphql-go/graphql"
  • How to use "github.com/mattn/go-sqlite3"
  • How to run generated WASM in Browser.
    • go-sqlite3 won't work on WASM build.

How to develop

# Run main
$ go run .

How to develop "WASM"

# Generate WASM version of main.
$ make build-wasm

# Run HTTP Server for WASM
$ go run ./cmds/http.go

# open WASM demo
open http://localhost:8080