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

Add experimental Fetch API package

This commit is contained in:
Johan Brandhorst
2018-03-02 21:26:42 +00:00
parent 60bc902fb2
commit 5c7c23d888
3 changed files with 97 additions and 0 deletions

7
fetch/Makefile Normal file
View File

@@ -0,0 +1,7 @@
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