4 ms·
Is there a decent convention for naming your specifically-for-deps module? ‘go mod init vendored’?
by astockwell 8y ago
Is there a decent convention for naming your specifically-for-deps module?
‘go mod init vendored’?
- SamWhited 8y agoYou should probably still be using a full module init path (eg. myrepos.example.com/mymodule) to make it go get compatible, and regardless of whether it will only be a dep for a single project or not, the name should be descriptive of what's in the module or package. Having a module that's "specifically for deps" sounds wrong to me in general, but without knowing what you're actually doing that is harder to give advise on.