# The Module field should be populated even if there is an error loading the package. env GO111MODULE=on go list -e -f {{.Module}} stdout '^mod.com$' -- go.mod -- module mod.com go 1.16 -- blah.go -- package blah import _ "embed" //go:embed README.md var readme string