3 ms·
Go doesn't do that, but it enables it and I'd even say encourages it, starting from the documentation https://golang.org/doc/code.html#Library https://golang.or
by cstejerean 9y ago
Go doesn't do that, but it enables it and I'd even say encourages it, starting from the documentation https://golang.org/doc/code.html#Library https://golang.org/doc/code.html#Library
Even projects using dep continue this pattern of pulling things from github master. I just browed through the top projects on Github for go and pretty much all of them that contained a gopkg.toml pulled in one or more things from github directly from master
https://github.com/grafana/grafana/blob/master/Gopkg.toml https://github.com/grafana/grafana/blob/master/Gopkg.toml
https://github.com/containous/traefik/blob/master/Gopkg.toml https://github.com/containous/traefik/blob/master/Gopkg.toml
https://github.com/cockroachdb/cockroach/blob/master/Gopkg.toml https://github.com/cockroachdb/cockroach/blob/master/Gopkg.t...
https://github.com/github/hub/blob/master/Gopkg.toml https://github.com/github/hub/blob/master/Gopkg.toml
These include projects like graphana, cockroachdb and hugo.