1
0
mirror of https://github.com/taigrr/wasm-experiments synced 2025-01-18 04:03:21 -08:00

Remove printing folder

This commit is contained in:
Johan Brandhorst 2018-05-12 15:07:36 +01:00
parent 5c7c23d888
commit e16f079d16
3 changed files with 0 additions and 31 deletions

View File

@ -1,7 +0,0 @@
build: clean compile
clean:
rm -f ./html/test.wasm
compile:
GOOS=js GOARCH=wasm GOROOT=$(GOPATH)/src/github.com/neelance/go/ $(GOPATH)/src/github.com/neelance/go/bin/go build -o ./html/test.wasm main.go

View File

@ -1,13 +0,0 @@
# Printing
## Running:
Simply open ./html/index.html in a web browser of your choice (that supports WebAssembly)
## Building
```bash
$ make build
```
This requires the WASM Go fork in your $GOPATH, and the compiled Go binary in that fork to be built.

View File

@ -1,11 +0,0 @@
package main
import (
"fmt"
"runtime/js"
)
func main() {
fmt.Println("Test")
js.Global.Get("console").Call("log", "yadayada")
}