Skip to content

Instantly share code, notes, and snippets.

@deezone
Last active May 19, 2020 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deezone/9abbe6f01503834c1c7f7898507d40d8 to your computer and use it in GitHub Desktop.
Save deezone/9abbe6f01503834c1c7f7898507d40d8 to your computer and use it in GitHub Desktop.
WASM - Hello World - main.go
// +build js,wasm
// /go/main.go
// GOOS=js GOARCH=wasm go build -o out/main.wasm go/main.go
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello SoulCycle WASM from Go!")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment