play-with-gql-go

command module
v0.0.0-...-06024b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2021 License: MIT Imports: 5 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
SEE: https://github.com/golang/go/wiki/WebAssembly A basic HTTP server.
SEE: https://github.com/golang/go/wiki/WebAssembly A basic HTTP server.
internal
db
Loaded on non-WASM.
Loaded on non-WASM.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL