6 lines
98 B
Bash
6 lines
98 B
Bash
GO=$(which go)
|
|
if [ -n "$GO" ] ; then
|
|
export GOPATH=$(go env GOPATH)
|
|
addpath "$GOPATH/bin"
|
|
fi
|