How do I fix: bash: ./goexec command not found ?

Written by
Link to Post by 

Following the official Go page on WebAssembly and when I get to this point below:

Then serve the three files (index.html, wasm_exec.js, and main.wasm) from a web server. For example, with goexec:

$ goexec ‘http.ListenAndServe(“:8080”, http.FileServer(http.Dir(“.”)))’

then bash: ./goexec command not found.

I have goexec installed in /go/src/ etc. using go get.

What do I need to know? I have searched this and not found a solution.

submitted by /u/Headpuncher
[link] [comments]

Article Tags:
· ·
Article Categories:

Leave a Reply