wasm

command
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2018 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go1.11 에 추가된 WebAssembly(abbreviated wasm) 테스트

테스트

# wasm 로 동작할 코드 빌드
GOARCH=wasm GOOS=js go build -o test.wasm wasm.go

# test.wasm 실행을 위한 html, js 파일 복사
cp $(go env GOROOT)/misc/wasm/wasm_exec.{html,js} .

# test.wasm 실행을 위한 웹서버 실행
go run wasm_server.go

# test.wasm 실행
http://localhost:8080/wasm_exec.html  => run 클릭하면 브라우저 디버그 콘솔창에 메시지 출력~

Documentation

Overview

ysoftman wasm 로 동작할 코드

ysoftman wasm 서버

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL