I am using a mono repo and I download certain tools under the project tree (istio). Running go get -u
or go mod tidy
causes the main go.mod
to get updated with irrelevant deps.
How do I exclude certain src subpaths for consideration.
Note:
This does not do the trick as the subdirectories I want to exclude do have go files in them.
go
tool. – Brigidbrigida