Open JiaaZe opened 4 years ago
add your variable GOPATH to PATH in file .bashrc restart Terminal
add export PATH="/example
:$PATH" to your .zshrc file if your agent is mac environment.
the example
is your GOPATH path, for example:
Try go install github.com/kataras/rizla
insetead of go get
. This command will compile and move the executable file to $GOPATH/bin
which should in path
system env var.
I import rizla to my GOPATH. When I input
rizla main.go
in Terminal ,it reply mebash: rizla: command not found...