arxtja
Last Updated: September 22, 2018
·
98.38K
· hermanschaaf

Install all Go project dependencies in one command

To install all dependencies of a Golang project or golang projects recursively with the go get command, change directory into the project and simply run:

go get ./...

This is specifically applicable to Revel apps, where there are many different packages contained in one working project (controllers, models, routes, etc)

3 Responses
Add your response

14191

I didn't have much luck with this. It was throwing bzr warnings on labix.org/v2/mgo. It does traverse the directories properly.

over 1 year ago ·
18276

adding -t will also install test dependencies

over 1 year ago ·
21776

i am not able to set gopath,
can u plz elaborate with example

over 1 year ago ·