4 ms·
$ go get github.com/person/project It will even figure out dependencies by checking every import (and you can do 'import "github.com/person/project"' too), and
by mvzink 13y ago
$ go get github.com/person/project
It will even figure out dependencies by checking every import (and you can do 'import "github.com/person/project"' too), and builds the source by default.
And yes, "go get" comes with the standard gotools.
- oakaz 13y agoAs I said in my previous comment, it's just the equivalent of `npm install person/project` not NPM. Edit: WTF? why this comment is down-voted now?
- rubinelli 13y agoAh! You mean CPAN! Nothing that I'm aware yet. It's mostly community-based discovery and recommendations, but a centralized repository would sure be nice.
- shurcooL 13y agoI'm not sure if there's a direct equivalent, but see if any of these are helpful. http://godoc.org/ http://godoc.org/ http://go-lang.cat-v.org/ http://go-lang.cat-v.org/ https://code.google.com/p/go-wiki/wiki/Projects https://code.google.com/p/go-wiki/wiki/Projects