--
Our proposal is that the Go project,
officially recommends vendoring into an “internal” directory with import rewriting (not GOPATH modifications) as the canonical way to pin dependencies.
defines a common config file format for dependencies & vendoring
import "package-name optional-version"import "github.com/example/test" //go get will import latest version of test
import "github.com/example/test 1.2.3" //go get will import version "1.2.3" of test
import "github.com/example/test 1ceb8dc" //go get will import test with commit id "1ceb8dc"--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/-8xRooqqyJo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
--
Could you explain, where the different versions would live when 2 packages have 'vendored' a different version?In your example, you are using github.com/example/test, so what does it become on disk?
--