Skip to content

irake99/go-wasm-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello world example for WebAssembly in Go

Prerequisites:

  1. Go. (https://golang.org/doc/install)
  2. Make command (Nice to have).
  3. WSL/WSL2 are recommended if you are using Windows.

Build:

make build

Run:

make run

Clean:

make clean

View result from your browser

  1. Browse the address your server listing.
  2. Open your browser console.
  3. Click the Run buttom.
  4. The result should show in the console.

Note:

Files wasm_exec.js and index.html in the folder static are from https://github.com/golang/go/tree/master/misc/wasm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published