1
0
mirror of https://github.com/golang/go synced 2024-11-06 03:16:10 -07:00
go/internal/lsp/testdata/missingdep/primarymod/main.go

11 lines
312 B
Go
Raw Normal View History

// Package missingdep does something
package missingdep
import (
"example.com/extramodule/pkg" //@diag("\"example.com/extramodule/pkg\"", "go mod tidy", "example.com/extramodule is not in your go.mod file.", "warning"),suggestedfix("\"example.com/extramodule/pkg\"", "quickfix")
)
func Yo() {
_ = pkg.Test
}