学习golang+wasm的练习
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fogleman_ellipse
generate_avatar
plus-one
public
tank
vendor
.gitignore
LICENSE
README.md
go.mod
go.sum
index.html
run.sh

README.md

golang-wasm-example

本项目的线上地址:https://chyroc.cn/golang-wasm-example/

国内用户可以访问:https://chyroc.coding.me/golang-wasm-example/

dep

build wasm and server

git clone https://github.com/Chyroc/golang-wasm-example
export GO111MODULE=on && go mod vendor
npm install http-server -g // 安装依赖
./run.sh

然后访问:http://127.0.0.1:8080 ,就可以看见加1和坦克游戏的界面了~

子项目

加1(点击访问, 国内地址

plus-one

坦克游戏(点击访问, 国内地址

tank

随机生成头像(点击访问, 国内地址

image