Set GOBIN to detected GOPATH

This commit is contained in:
Loic Nageleisen 2019-06-10 15:28:40 +02:00
parent 4d250a6169
commit 2a31999852

View file

@ -45,10 +45,12 @@ _strip-go-path() {
_set-gopath() {
export GOPATH="$*"
export GOBIN="$GOPATH/bin"
}
_unset-gopath() {
unset GOPATH
unset GOBIN
}
_gopath() {