github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/list_parse_err.txt (about) 1 # 'go list' should report imports, even if some files have parse errors 2 # before the import block. 3 go list -e -f '{{range .Imports}}{{.}} {{end}}' 4 stdout '^fmt ' 5 6 -- go.mod -- 7 module m 8 9 go 1.13 10 11 -- a.go -- 12 package a 13 14 import "fmt" 15 16 -- b.go -- 17 // no package statement