3 ms·
Go modules still allow for changes to local copies. You are not required to use a proxy to use modules. Also, you can always fork a public project and use a rep
by pokstad 8y ago
Go modules still allow for changes to local copies. You are not required to use a proxy to use modules. Also, you can always fork a public project and use a replace statement in a module to redirect an import path to your customized module. Check out this related tool: https://github.com/rogpeppe/gohack https://github.com/rogpeppe/gohack
- candiodari 8y agoAnd another configuration file that you (and all tools) need to know about pointing at yet another global directory (global for all your projects). That override file, of course, does have to be in your project folder and is yet another thing to take into account. If I want to share things, I am aware of links in filesystems, thank you very much Go authors. "go.mod" overrides ... I wish golang did not try to solve yet another non-problem badly.