GOPATH配置 复制代码库到本地 git clone https://github.com/blueCao/gopath.git 配置GOPATH路径(或者添加到 ~/.bash_profile 中) export GOPATH=./gopath