command
module
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Mar 31, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
tinygo

git add
Table of Contents
Goals
Installation
TinyGo via Docker
docker pull tinygo/tinygo:latest
From Source
go get -u github.com/andygeiss/tinygo
Build
Build the WebAssembly file
sudo docker run \
-v $PWD:/src \
-v $GOPATH:/gohost \
-e "GOPATH=$GOPATH:/gohost" \
tinygo/tinygo \
tinygo build -o /src/web/app/app.wasm -target wasm /src/main_wasm.go
Compress the file
gzip -9 web/app/app.wasm \
&& mv web/app/app.wasm.gz web/app/app.wasm
Usage
sudo go run main.go
http://127.0.0.1
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.