Skip to content

Instantly share code, notes, and snippets.

@carmark
Last active August 29, 2015 14:22
Show Gist options
  • Save carmark/9dcb8885ca4cb19279ea to your computer and use it in GitHub Desktop.
Save carmark/9dcb8885ca4cb19279ea to your computer and use it in GitHub Desktop.
官方的安装文档是使用go get github.com/tools/godep,很可惜,因为“网络”问题会报一个找不到golang.org/x/tools/go/vcs的错误。而https://github.com/golang/tools 是 golang.org/x/tools的一个镜像,代码是一样的,所以我是如下安装的。
* set your GOPATH
* make a dir in your $GOPATH/src/, like $GOPATH/src/golang.org/x
* `git clone https://github.com/golang/tools $GOPATH/src/golang.org/x/tools`
* `go get github.com/tools/godep`
* add $GOPATH/bin dir in PATH env
* update the local hyper private repo
* you can `godep go build hyper.go/hyperd.go`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment