美文网首页
Go. command not found: govendor.

Go. command not found: govendor.

作者: Enter_Y | 来源:发表于2020-04-29 11:39 被阅读0次

bash: command not found: govendor
zsh:

是因为没有把 $GOPATH/bin 加入 PATH 中, 在自己使用的bash中加入:👇,关闭,然后执行 source .zshrc(自己使用的bash)

export PATH=$PATH:$GOPATH/bin

$GOPATH 是Go设置的env

相关文章

网友评论

      本文标题:Go. command not found: govendor.

      本文链接:https://www.haomeiwen.com/subject/cldgwhtx.html