Saturday, January 10, 2015

Basic dependency management

To install all the dependencies of a package:

$ go list -f '{{ join .Imports "\n" }}' | xargs go get

No comments:

Post a Comment