Boris Djurdjevic
May 23, 2018 · 1 min read
$ which go
/usr/bin/go # <- outside of the repository: wrong
$ which go
/home/djboris/newgo/bin/go # <- inside of the repository: good
export PATH=/home/djboris/newgo/bin:$PATH
$ GOARCH=wasm GOOS=js /home/djboris/newgo/bin/go build -o main.wasm main.go
$ git checkout d7841c75357e82fb6b880bbc84d36bd28d825847
$ ./all.bash
$ ... export PATH, compile etc.

    Boris Djurdjevic

    Written by

    Linux, Go, Container, PostgreSQL, Bitcoin, Infosec

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade