3 ms·
I wish vendoring in deps and/or monorepos were better-supported. That's the only thing that gives me pause with Go. Everything else about it is great from a "ca
by handrous 5y ago
I wish vendoring in deps and/or monorepos were better-supported. That's the only thing that gives me pause with Go. Everything else about it is great from a "can this easily be built a couple years from now, if it's not been touched in the meantime?" perspective, but the defaults there strongly favor future breakage and last I checked make it a huge pain to take measures to avoid that problem, which is weird.
[EDIT] oh, they added a command for that, "go mod vendor", I guess, and I just missed it somehow. Nice.
[EDIT EDIT] On further reading the feature's practically built of rough edges and you're probably gonna want 3rd party tools to manage it if you value your sanity. Hmph. Well, that sucks.
- jatone 5y agoive been trying to get them to fix vendoring and modules. they've been incredibly obtuse about the whole situation. =/
- shakezula 5y agoThey do appear to be addressing some of those rough edges in 1.18 with the ability to specify a working mod file separate from the normal go.mod file, but you're not wrong, vendoring has some rough edges for sure.