Files
kjol/go/cmd/examples/go-wasm-web/wasm/main_native.go

10 lines
326 B
Go

//go:build !(js && wasm)
// The wasm client entry point (main.go) builds only under GOOS=js GOARCH=wasm.
// This native placeholder keeps the package buildable on the host so a plain
// `go build ./...` succeeds; the real client is built by build.sh / the dev
// server with GOOS=js GOARCH=wasm.
package main
func main() {}