Add below to config.fish
set -x GOPATH (go env GOPATH)
set -x PATH $PATH (go env GOPATH)/bin
Add below to zshrc.
export GOPATH="$(go env GOPATH)"
export PATH="$PATH:$GOPATH/bin"
Add below to config.fish
set -x GOPATH (go env GOPATH)
set -x PATH $PATH (go env GOPATH)/bin
Add below to zshrc.
export GOPATH="$(go env GOPATH)"
export PATH="$PATH:$GOPATH/bin"