mirror of
https://github.com/golang/go
synced 2024-11-19 02:14:43 -07:00
30cae5f2fb
This change will surface errors that come from the mod package. It will handle incorrect usages, invalid directives, and other errors that occur when parsing go.mod files. Updates golang/go#31999 Change-Id: Icd817c02a4b656b2a71914ee60be4dbe2bea062d Reviewed-on: https://go-review.googlesource.com/c/tools/+/213779 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
11 lines
148 B
Go
11 lines
148 B
Go
// Package invalidrequire does something
|
|
package invalidrequire
|
|
|
|
import (
|
|
"golang.org/x/tools/go/packages"
|
|
)
|
|
|
|
func Yo() {
|
|
var _ packages.Config
|
|
}
|