News for hackers. Stuff that matters.
Re:Go best practices, six years in by bitwize on Sunday May 01, 2016 @01:13PM (#11606944)
"Vendoring" means maintaining local copies of third-party libraries and other dependencies in your local repo so exactly what you depend on is a part of your internal history. Git provides ways of doing this easily, such as subtrees.
Re:Go best practices, six years in by bboreham on Sunday May 01, 2016 @02:45PM (#11607356)
Just to add: the name comes from the convention of storing all those dependencies in a subdirectory named "vendor".
Re:Go best practices, six years in by platz on Sunday May 01, 2016 @03:21PM (#11607485)
Is vendoring strictly storing the source code, or can it include storing compiled libraries?
Re:Go best practices, six years in by cyphar on Sunday May 01, 2016 @09:56PM (#11608781)
Go doesn't have support for using compiled libraries (although support is coming). It's always using the source code.