January 2020
Intermediate to advanced
640 pages
16h 56m
English
The Go team—being well aware that having several competing tools for managing dependencies could result in the fragmentation of the Go ecosystem and encumber the growth of the Go community—decided to assemble a committee and produce an official specification document detailing the way to move forward regarding Go package dependency management. The dep tool [2] is the first tool that conforms to the published specification. It began its life some time around 2017 as an official experiment that was made available to users who upgraded to Go 1.9.
The dep tool provides precompiled binaries for various operating systems; however, it is probably easier to build it from the source by running go get -u github.com/golang/dep/cmd/dep