cmd/go: Docs for go mod vendor
does not include any information about vendoring a module for making changes
#56330
Labels
Documentation
GoCommand
cmd/go
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
What is the URL of the page with the issue?
https://go.dev/ref/mod#go-mod-vendor
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Screenshot
What did you expect to see?
In the docs for
go mod vendor
I expect to see something regarding vendoring a dependency for making changes. For example bug fixes or addressing vulnerabilities. However, in the docs it explicitly says "Local changes should not be made to vendored packages". I think it would be nice to include a quick mention of this usecase here and a link to the "replace" directive and/or "workspaces" to address this.The text was updated successfully, but these errors were encountered: