Hi! I am trying to type check a Go module. The https://pkg.go.dev/go/types#Config's Importer field requires a https://pkg.go.dev/go/types#Importer.
https://pkg.go.dev/go/importer#Default works well, however, it is not module-aware. Is golang.org/x/tools/go/packages the only way to load and type-check a Go module? Thanks! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/9395808f-7762-4588-a6f9-1c8e6c5c70b1n%40googlegroups.com.