feat(js): error when GOROOT not found, add dev server to example
parent
f19165c53d
commit
ef20dff682
@ -1,3 +1,4 @@
|
|||||||
node_modules
|
node_modules
|
||||||
example/node_modules
|
example/node_modules
|
||||||
.gocache
|
.gocache
|
||||||
|
wasm_exec.js
|
@ -0,0 +1,3 @@
|
|||||||
|
example
|
||||||
|
wasm
|
||||||
|
.gocache
|
@ -0,0 +1,4 @@
|
|||||||
|
dist/main.wasm
|
||||||
|
dist/main.js
|
||||||
|
node_modules
|
||||||
|
src/api/main.wasm
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,2 @@
|
|||||||
gitea.teamortix.com/Team-Ortix/go-mod-wasm/wasm v0.0.0-20210320160445-87f4b612f08a h1:yP+ZWeFYr26sQbkjOZKlJvDdPNzxsdK3T9WeDDpRZ3Y=
|
|
||||||
gitea.teamortix.com/Team-Ortix/go-mod-wasm/wasm v0.0.0-20210320160445-87f4b612f08a/go.mod h1:aXGSS5eQ84RFpINcZVu4y/MeaguTCZM9RvZct1OtsE0=
|
|
||||||
gitea.teamortix.com/Team-Ortix/go-mod-wasm/wasm v0.0.0-20210320171600-df451aa899a5 h1:1obgUBM+Sx9Hi+2nv05MvPBR8qu/0ZDCRs8JIky8U2o=
|
|
||||||
gitea.teamortix.com/Team-Ortix/go-mod-wasm/wasm v0.0.0-20210320171600-df451aa899a5/go.mod h1:aXGSS5eQ84RFpINcZVu4y/MeaguTCZM9RvZct1OtsE0=
|
|
||||||
gitea.teamortix.com/Team-Ortix/go-mod-wasm/wasm v0.0.0-20210320172655-205806929b8f h1:A1ImTmMMUKGRvxCXO+hQh92DAsRz37ioQGlg8dpxFjc=
|
gitea.teamortix.com/Team-Ortix/go-mod-wasm/wasm v0.0.0-20210320172655-205806929b8f h1:A1ImTmMMUKGRvxCXO+hQh92DAsRz37ioQGlg8dpxFjc=
|
||||||
gitea.teamortix.com/Team-Ortix/go-mod-wasm/wasm v0.0.0-20210320172655-205806929b8f/go.mod h1:aXGSS5eQ84RFpINcZVu4y/MeaguTCZM9RvZct1OtsE0=
|
gitea.teamortix.com/Team-Ortix/go-mod-wasm/wasm v0.0.0-20210320172655-205806929b8f/go.mod h1:aXGSS5eQ84RFpINcZVu4y/MeaguTCZM9RvZct1OtsE0=
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,5 @@
|
|||||||
import wasm from './main.go';
|
import wasm from './api/main.go';
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
console.log(wasm)
|
|
||||||
console.log(await wasm.test(), "..")
|
|
||||||
})()
|
})()
|
Loading…
Reference in New Issue