Re:Experimental Dependency Vendoring in Go 1.5
by technoweenie on Thursday June 11, 2015 @02:20PM
(#9701342)
How do you handle a custom GOPATH like that when the current repository needs to be in there too? We've tried manually symlinking the repo dir into the custom '$GOPATH/src/github.com/user/repo' dir, but it feels really hacky.
Re:Experimental Dependency Vendoring in Go 1.5
by anezvigin on Thursday June 11, 2015 @02:23PM
(#9701364)
You can separate multiple paths with a colon.
Migrating to use `vendor/` instead of `third_party/` will be trivial, and not having to modify GOPATH will be nice.
Having a GO_VENDOR=1 env var on top of the `go get -vendor` feature flag would be nice, so that the feature works with minimal disruption.