From e16f079d1676c4601bfe5c950a67af61ada9a412 Mon Sep 17 00:00:00 2001 From: Johan Brandhorst Date: Sat, 12 May 2018 15:07:36 +0100 Subject: [PATCH] Remove printing folder --- printing/Makefile | 7 ------- printing/README.md | 13 ------------- printing/main.go | 11 ----------- 3 files changed, 31 deletions(-) delete mode 100644 printing/Makefile delete mode 100644 printing/README.md delete mode 100644 printing/main.go diff --git a/printing/Makefile b/printing/Makefile deleted file mode 100644 index 2cb4239..0000000 --- a/printing/Makefile +++ /dev/null @@ -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 diff --git a/printing/README.md b/printing/README.md deleted file mode 100644 index 7dc8ecf..0000000 --- a/printing/README.md +++ /dev/null @@ -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. diff --git a/printing/main.go b/printing/main.go deleted file mode 100644 index e4f15a3..0000000 --- a/printing/main.go +++ /dev/null @@ -1,11 +0,0 @@ -package main - -import ( - "fmt" - "runtime/js" -) - -func main() { - fmt.Println("Test") - js.Global.Get("console").Call("log", "yadayada") -}