1
0
mirror of https://github.com/golang/go synced 2024-11-19 15:14:45 -07:00
go/internal/apidiff/testdata/exported_fields/ef.go
Jonathan Amsterdam 9e5445377b internal/apidiff: diffs of package APIs
This is copied unchanged from x/exp.

Change-Id: I944b912212f7fd844a4bea81605433baf4bcc9a2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/170862
Reviewed-by: Jay Conrod <jayconrod@google.com>
2019-04-09 17:10:12 +00:00

38 lines
399 B
Go

package exported_fields
// Used for testing exportedFields.
// Its exported fields are:
// A1 [1]int
// D bool
// E int
// F F
// S *S
type (
S struct {
int
*embed2
embed
E int // shadows embed.E
alias
A1
*S
}
A1 [1]int
embed struct {
E string
}
embed2 struct {
embed3
F // shadows embed3.F
}
embed3 struct {
F bool
}
alias = struct{ D bool }
F int
)