Related projects:
- CORS proxy
- Web client: git-calendar-web
For Android and IOS bindings, make sure to install gomobile:
go install golang.org/x/mobile/cmd/gomobile@latestYou can build for all platforms using:
makeor individually:
make [build_android|build_ios|build_web]Install wasmbrowsertest:
go install github.com/agnivade/wasmbrowsertest@latestRun tests like so:
GOOS=js GOARCH=wasm go test -exec $(go env GOPATH)/bin/wasmbrowsertest ./...Or, if you don't wanna specify the -exec:
- Rename the exacutable so that
go testfinds it automatically:
mv "$(go env GOPATH)/bin/wasmbrowsertest" "$(go env GOPATH)/bin/go_js_wasm_exec"- And then run tests like you normally would:
GOOS=js GOARCH=wasm go test ./...