Peter Christian Fraedrich
1 min readOct 12, 2019

--

`go mod vendor` should only be used when compatibility with older go versions is necessary. For a go 1.11+ project it’s irrelevant, as go doesn’t use the vendor directory anymore. To get your dependencies for a project and generate your `go.mod` file you just need to `go mod tidy`

--

--

Peter Christian Fraedrich
Peter Christian Fraedrich

Written by Peter Christian Fraedrich

Entrepreneur, software developer, writer, musician, amateur luthier, husband, dad. All opinions are my own.

No responses yet

Write a response