glide筆記

in golang

https://github.com/Masterminds/glide

安裝

1
brew install glide

Usage

source code需要放在gopath下

1
2
3
4
5
6
7
$ glide create # Start a new workspace
$ open glide.yaml # and edit away!
$ glide get github.com/Masterminds/cookoo # Get a package and add to glide.yaml
$ glide install # Install packages and dependencies
# work, work, work
$ go build # Go tools work normally
$ glide up # Update to newest versions of the package

get 3rd party library and all their dependencies

1
2
glide get --all-dependencies <path>
glide up --all-dependencies

Comment and share

  • page 1 of 1

Cwza

Hello everyone.
I’m cwza.
Welcome to my blog.


Software Engineer


Taiwan/Taipei