go/internal/lsp/testdata/missingdep/primarymod/main.go

11 lines
300 B
Go

// 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\"")
)
func Yo() {
_ = pkg.Test
}