initial commit

This commit is contained in:
vedhavyas committed 2019-08-06 15:03:11 +02:00
commit d528eeada8
4 files changed
+218

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// +build js,wasm
package main
import (
"fmt"
"syscall/js"
)
func printWasm(v []js.Value) {
fmt.Println("Hello from WASM", v)
}
func main() {
js.Global().Set("printWasm", js.NewCallback(printWasm))
fmt.Println("Done...")
<-make(chan struct{})
}
BIN
View File
Binary file not shown.