x/tools/gopls: change the module path and upgrade imports within the module #41471
Labels
FeatureRequest
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Now I usually modify the
go.mod
file.Then modify some imports one by one.
What did you expect to see?
Sometimes a project may permanently move to a new address.
I hope
go mod
has any way to directly migrate my project to the new address.Possible comannd like:
Then all the imports of the project point to the new address.
What did you see instead?
Now I don't seem to see a similar function.
If there is no such feature, I hope it can be added.
If there is already have a similar functions, I hope to get some help.
The text was updated successfully, but these errors were encountered: