Skip to content

kemokemo/wasmgo-sketchbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasmgo-sketchbook

My sketchbook for the wasm with golang. Please refer the WebAssembly.

How to build and serve

Write it with a command using fish shell.

env GOOS=js GOARCH=wasm go build -o main.wasm
cp (go env GOROOT)/misc/wasm/wasm_exec.js .
go get -u github.com/shurcooL/goexec
goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))'

About

My sketchbook for the wasm with golang.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published