You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is likely to work out-of-the-box since gopls relies on go list for package information. However, we'll need to verify that this works well and include additional regression tests for the new workspace layout.
We may want to add code lenses to update the vendor directory.
The text was updated successfully, but these errors were encountered:
findleyr
added
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
labels
Oct 4, 2023
Support workspace vendoring by simply removing logic in gopls for
deriving the `-mod` flag. If we don't need to set `-mod=mod`, let the go
command decide what to do. We don't need to worry about explicitly
setting `-mod=readonly`, since this has been the default since Go 1.16.
For golang/go#63375
Change-Id: I1adbe20cef5b9e3edcb7ac2445c4d5ae63f3a3a9
Reviewed-on: https://go-review.googlesource.com/c/tools/+/560466
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
https://go.dev/issue/60056 is adding support for workspace vendoring.
This is likely to work out-of-the-box since gopls relies on
go list
for package information. However, we'll need to verify that this works well and include additional regression tests for the new workspace layout.We may want to add code lenses to update the vendor directory.
The text was updated successfully, but these errors were encountered: