arxtja
Last Updated: February 25, 2016
·
49.69K
· hermanschaaf
9b689cc1d73c4f1e7378d045a54abcca

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)

Say Thanks
Respond

3 Responses
Add your response

14191
2f56f147c441727ffd27a57d747f131c

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
Me walking lq

adding -t will also install test dependencies

over 1 year ago ·
21776
None

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

over 1 year ago ·