Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
handlers Adding vendor directories (#162) Sep 6, 2018
vendor
README.md Adding vendor directories (#162) Sep 6, 2018
clean.sh stuff Nov 17, 2015
glide.lock
glide.yaml
glideify.sh additional dep Nov 17, 2015
main.go

README.md

Vendoring Dependencies in Go

Watch The Screencast

Go in 5 Minutes, episode 7.

This screencast shows how to vendor your dependencies in Go, the modern way.

Screencast video: https://www.goin5minutes.com/screencast/episode_7_vendoring_your_dependencies_in_go/

Email Newsletter

Quick reminder to sign up at https://www.goin5minutes.com/subscribe

The first email will go out this week!

Outline

  1. go get
  2. Reproducible builds
  3. A Rich History
  1. Example

Note

Since dependency code is stored on Github, dependencies are mutable. I have checked in the vendor directory here so that you can compile & test this code. To experiment, just rm -rf vendor and run the glide commands.

You can’t perform that action at this time.