github.com/v2fly/tools@v0.100.0/internal/apidiff/testdata/exported_fields/ef.go (about)

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