mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Updated WebAssembly (asciidoc)
parent
8dea6a4895
commit
a949d74bb4
@ -90,6 +90,7 @@ Then serve the three files (`index.html`, `wasm_exec.js`, and
|
|||||||
https://github.com/shurcooL/goexec#goexec[`goexec`]:
|
https://github.com/shurcooL/goexec#goexec[`goexec`]:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
# install goexec: go get -u github.com/shurcooL/goexec
|
||||||
$ goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))'
|
$ goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user