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

Written by
Link to Post

https://www.reddit.com/r/golang/comments/byaiu0/how_do_i_fix_bash_goexec_command_not_found/ 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/github.com/name/packageName.. 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:
reddit

Leave a Reply