Debian Codegraph @

src/cmd/go/testdata/script/list_export_embed.txt

raw
1 # Regression test for https://go.dev/issue/58885:
2 # 'go list -json=Export' should not fail due to missing go:embed metadata.
3
4 [short] skip 'runs the compiler to produce export data'
5
6 go list -json=Export -export .
7
8 -- go.mod --
9 module example
10 go 1.20
11 -- example.go --
12 package example
13
14 import _ "embed"
15
16 //go:embed example.go
17 var src string