Exemple de problème :
germain@xps ~ $ go install github.com/davecheney/httpstat@latest
go: downloading github.com/davecheney/httpstat v1.1.0
go: downloading github.com/fatih/color v1.10.0
go: downloading github.com/mattn/go-colorable v0.1.8
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading golang.org/x/sys v0.0.0-20201223074533-0d417f636930
germain@xps ~ $ httpstat https://example.com/
httpstat : commande introuvable
germain@xps ~ $ echo $GOPATH
Il faut ajouter le path de GO à votre shell :
nano ~/.profile
(...)
export GOPATH="$HOME/go"
PATH="$GOPATH/bin:$PATH"
source ~/.profile
Voir aussi : https://www.germain.lol/ajouts-a-mon-fichier-bashrc-bash_aliases/