1
0
mirror of https://github.com/golang/go synced 2024-10-01 20:38:32 -06:00
go/internal/lsp/testdata/upgradedep/primarymod/main.go
Rohan Challa 98b3097d01 internal/lsp: add codelens for go.mod dependency upgrades
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>
2020-02-14 14:15:08 +00:00

11 lines
128 B
Go

// Package upgradedep does something
package upgradedep
import (
"example.com/extramodule/pkg"
)
func Yo() {
_ = pkg.Test
}