5 ms·
Vendoring! Modules! Finally. Do you have any examples with proposed solutions for local module setups, without having to rely on GOPATH changes?
by openbasic 8y ago
Vendoring! Modules! Finally. Do you have any examples with proposed solutions for local module setups, without having to rely on GOPATH changes?
- TheDong 8y agoThis is a go question, not an app engine question. See this page on the go wiki for an example of how to use go modules: https://github.com/kubernetes/kubernetes/pull/58098 https://github.com/kubernetes/kubernetes/pull/58098 Note: you need to have go1.11, and by default you need to be in a directory NOT in your $GOPATH for modules to work in go1.11
- TheDong 8y agoEdit: https://github.com/golang/go/wiki/Modules#how-to-use-modules https://github.com/golang/go/wiki/Modules#how-to-use-modules Copy paste error I guess.