golang 的glide包管理使用技巧教程

安装glide

➜  wemall git:(master) ✗ go get github.com/Masterminds/glide

➜  wemall git:(master) ✗  go install github.com/Masterminds/glide
➜  wemall git:(master) ✗ glide init
➜  wemall git:(master) ✗ glide up

[INFO] Loading mirrors from mirrors.yaml file
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for github.com/jinzhu/gorm
[INFO] --> Fetching updates for github.com/satori/go.uuid
[INFO] --> Fetching golang.org/x/crypto/bcrypt
[INFO] --> Fetching updates for gopkg.in/kataras/iris.v6
[WARN] Unable to checkout golang.org/x/crypto/bcrypt
[ERROR] Update failed for golang.org/x/crypto/bcrypt: Cannot detect VCS
[ERROR] Failed to do initial checkout of config: Cannot detect VCS

 
 


原文地址:https://www.cnblogs.com/jackluo/p/7591917.html