mirror of
https://github.com/golang/go
synced 2024-11-19 05:54:44 -07:00
c4f5635f10
This change adds an upgrade all dependencies codelens on the go.mod file if there are available upgrades. Updates golang/go#36501 Change-Id: I86c1ae7e7a6dc01b7f5cd7eb18e5a11d96a3acc1 Reviewed-on: https://go-review.googlesource.com/c/tools/+/221108 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
12 lines
720 B
Modula-2
12 lines
720 B
Modula-2
module upgradedep //@codelens("module upgradedep", "Upgrade all dependencies", "upgrade.dependency")
|
|
|
|
// TODO(microsoft/vscode-go#12): Another issue. //@link(`microsoft/vscode-go#12`, `https://github.com/microsoft/vscode-go/issues/12`)
|
|
|
|
go 1.12
|
|
|
|
// TODO(golang/go#1234): Link the relevant issue. //@link(`golang/go#1234`, `https://github.com/golang/go/issues/1234`)
|
|
|
|
require example.com/extramodule v1.0.0 //@link(`example.com/extramodule`, `https://pkg.go.dev/mod/example.com/extramodule@v1.0.0`),codelens("require example.com/extramodule v1.0.0", "Upgrade dependency to v1.1.0", "upgrade.dependency")
|
|
|
|
// https://example.com/comment: Another issue. //@link(`https://example.com/comment`,`https://example.com/comment`)
|