mirror of
https://github.com/golang/go
synced 2024-11-19 08:54:47 -07:00
98b3097d01
This change adds a code lens for go.mod files that will let a user know if a module can be upgraded, once it is clicked gopls will run a command to update that module. Updates golang/go#36501 Change-Id: Id22b8097ede4972cf73bc029ec927544a71b7150 Reviewed-on: https://go-review.googlesource.com/c/tools/+/218557 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
11 lines
128 B
Go
11 lines
128 B
Go
// Package upgradedep does something
|
|
package upgradedep
|
|
|
|
import (
|
|
"example.com/extramodule/pkg"
|
|
)
|
|
|
|
func Yo() {
|
|
_ = pkg.Test
|
|
}
|