go dep
12 Jun 2018apk add git nano go musl-dev
# /usr/local/go in some linux
# /usr/local/go in macos
export GOROOT=/usr/lib/go
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
go get -u -v github.com/golang/dep/cmd/dep
dep init
glide
curl https://glide.sh/get | sh
ln -s $GOPATH/bin/glide $GOPATH/bin/godep
- init project with packages
glide init
orglide create
- install all packages
glide install
- add new package
glide get github.com/dmgk/faker