Skip to content

ustropo/webassembly-go-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WebAssembly in Go - Example

Example code on how to create a WebAssembly code using Go.

Compile

To compile, just run the command:

GOOS=js GOARCH=wasm go build -o assets/main.wasm cmd/wasm/main.go

Run

To run:

go run cmd/server/main.go

Open the browser with the address localhost:8000.

Article

This code was done for the article "How to Write a WebAssembly App in Go"

About

WebAssembly application using Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published