github.com/april1989/origin-go-tools@v0.0.32/cmd/guru/testdata/src/implements/main.golden (about)

     1  -------- @implements E --------
     2  empty interface type E
     3  
     4  -------- @implements F --------
     5  interface type F
     6  	is implemented by pointer type *C
     7  	is implemented by struct type D
     8  	is implemented by interface type FG
     9  
    10  -------- @implements FG --------
    11  interface type FG
    12  	is implemented by pointer type *D
    13  	implements F
    14  
    15  -------- @implements slice --------
    16  slice type []int implements only interface{}
    17  
    18  -------- @implements C --------
    19  pointer type *C
    20  	implements F
    21  
    22  -------- @implements starC --------
    23  pointer type *C
    24  	implements F
    25  
    26  -------- @implements D --------
    27  struct type D
    28  	implements F
    29  pointer type *D
    30  	implements FG
    31  
    32  -------- @implements starD --------
    33  pointer type *D
    34  	implements F
    35  	implements FG
    36  
    37  -------- @implements sorter --------
    38  slice type sorter
    39  	implements lib.Sorter
    40  
    41  -------- @implements I --------
    42  interface type I
    43  	is implemented by basic type lib.Type
    44  
    45  -------- @implements var_d --------
    46  struct type D
    47  	implements F
    48  pointer type *D
    49  	implements FG
    50