Getting Started
Install WebGo, write a minimal app, build it to WebAssembly and generate a static site.
This guide targets
github.com/Toms223/WebGo v1.0.0
.
v0.0.1
and
v0.0.2
do not work and should not be used.
ยง1 Install
Run this in your module:
go get github.com/Toms223/WebGo@v1.0.0
This adds WebGo to your
go.mod
. Everything comes from this one module, including the
app
package at
github.com/Toms223/WebGo/app
.
Requirements
-
Go, matching the version required by your
go.mod. -
github.com/Toms223/WebGo, versionv1.0.0or later.