Last active
May 19, 2020 11:42
-
-
Save deezone/9abbe6f01503834c1c7f7898507d40d8 to your computer and use it in GitHub Desktop.
WASM - Hello World - main.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +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