golang.org/x/exp@v0.0.0-20240506185415-9bf2ced13842/apidiff/testdata/exported_fields/ef.go (about) 1 package exported_fields 2 3 // Used for testing exportedFields. 4 // Its exported fields are: 5 // 6 // A1 [1]int 7 // D bool 8 // E int 9 // F F 10 // S *S 11 type ( 12 S struct { 13 int 14 *embed2 15 embed 16 E int // shadows embed.E 17 alias 18 A1 19 *S 20 } 21 22 A1 [1]int 23 24 embed struct { 25 E string 26 } 27 28 embed2 struct { 29 embed3 30 F // shadows embed3.F 31 } 32 embed3 struct { 33 F bool 34 } 35 alias = struct{ D bool } 36 37 F int 38 )