Skip to content

axetroy/wasm-example.go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAssembly example writing in Golang

Example: hello

# build wasm
GOARCH=wasm GOOS=js go build -o ./demo/test.wasm ./hello/main.go
# run in server
go run demo.go
# Open http://localhost:8080 in your browser

Example: fibonacci

# build wasm
GOARCH=wasm GOOS=js go build -o ./demo/test.wasm ./fibonacci/main.go
# run in server
go run demo.go
# Open http://localhost:8080 in your browser

About

WebAssembly example writing in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages