All notes
Dep

Basics



#---------- Installation

# Install or upgrade
brew install dep
brew upgrade dep

# On other platforms you can use the install.sh script:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

#---------- Create a new proj

mkdir -p $GOPATH/src/github.com/me/example
cd $GOPATH/src/github.com/me/example

# Initialize the project:
dep init

# Add dependencies
dep ensure -add github.com/foo/bar github.com/baz/quux

dep status