I'm about to setup a new project in Go. I came across the term vendoring. Is this standard or an obsolete concept. I'm coming from a nodejs world and this feels like copying the nod_modules folder to a separate directory or am I confusing the whole purpose of this?
Asked
Active
Viewed 70 times
0
-
2Vendoring is not obsolete. It is a useful technique for a certain cases. But note that vendoring _never_ was ought to be _the_ solution to dependency management. It had, has and will have its niche. – Volker Aug 25 '20 at 07:54
-
thanks, for this, can you give me a such a niche scenario, just want to be aware when I should be using this approach. – pandith padaya Aug 25 '20 at 21:42
-
If you cannot use Go modules, e.g. because you have not network connectivity during build. If your background is NodeJS: Do not use vendoring. – Volker Aug 26 '20 at 04:10