官术网_书友最值得收藏!

glide

The glide is one of the most widely used package management tool in Go community. It addresses the limitations of go get, but it needs to be installed manually by the developer. The following is a simple way to install and use glide:

$ curl https://glide.sh/get | sh
$ mkdir new-project && cd new-project
$ glide create
$ glide get github.com/last-ent/skelgor # A helper project to generate project skeleton.
$ glide install # In case any dependencies or configuration were manually added.
$ glide up # Update dependencies to latest versions of the package.
$ tree
.
├── glide.lock
├── glide.yaml
└── vendor
    └── github.com
        └── last-ent
            └── skelgor
                ├── LICENSE
                ├── main.go
                └── README.md  

In case you do not wish to install glide via curl and sh, other options are available and described in better detail on the project page, available at https://github.com/masterminds/glide.

主站蜘蛛池模板: 博客| 博罗县| 武穴市| 鲁山县| 宿松县| 宣威市| 尼玛县| 乌苏市| 邵阳市| 锦屏县| 莱州市| 云梦县| 公主岭市| 青冈县| 建德市| 梅河口市| 吉林省| 凌云县| 微山县| 色达县| 汉寿县| 双辽市| 昭觉县| 绍兴县| 泊头市| 大竹县| 温宿县| 厦门市| 沙田区| 莱阳市| 郁南县| 时尚| 沈丘县| 醴陵市| 渝北区| 客服| 瓦房店市| 宜宾县| 屏东市| 大连市| 江源县|