我正在尝试从二进制文件安装gogs,并且在构建它时遇到问题。我运行了以下命令:
go get -u github.com/gogits/gogs
mkdir -p ~/services && cd ~/services
git clone —branch=dev file:///$GOPATH/src/github.com/gogits/gogs
cd gogs
gopm build
除“ gopm build”外,所有其他东西都可以工作。这是我的终端机所说的话:
➜ gogs git:(master) gopm build
zsh: command not found: gopm
据我所知,所有内容都添加到了我的PATH中。