Hi,
We'd like to avoid having to update versions in the main module's go.mod for any change to a local module, which I can already solve with "replace" pointing to a relative path in the same repo.
However, the main module also currently vendors all dependencies using "go mod vendor", and we build using "go build -mod=vendor", which *only* reads dependencies from the local "vendor/" dir and ignores go.mod. That means we'd still have to run "go mod vendor" after any change to a local module, to pick up those changes in the main module. Just deleting the repo-local modules from the "vendor/" dir doesn't help, since then those packages / modules aren't found at all. There doesn't seem to be a way to turn use vendoring only for non-local dependencies.
So: Any practical advice for how to minimize dep versioning maintenance work with between multiple modules in a repo when using vendoring?
Thanks!
Julius