Skip to content

michaelknyazev/golang-wasm-parcel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go wasm example using parcel as bundler

Example WASM project written in Go and bundled with parcel.

Requirements:

  1. Go 1.17+
  2. Parcel Bundler
  3. Docker (for production build)

Try it yourself:

  1. Clone project
  2. run make dev
  3. Project will be available at http://localhost:1234

Run it in production:

  1. Clone project
  2. run make serve
  3. Project will be available at http://localhost:3000 (as running container)

Result

WASD controlled character, moving on screen.

Preview

Built with ebiten (v2).