github.com/unionj-cloud/go-doudou@v1.3.8-0.20221011095552-0088008e5b31/cmd/internal/name/testdata/vo2 (about)

     1  import "time"
     2  
     3  // comment for alia age
     4  type age int
     5  
     6  type Event struct {
     7  	Name      string
     8  	EventType int
     9  }
    10  
    11  type TestAlias struct {
    12  	Age    age
    13  	School []struct {
    14  		Name string
    15  		Addr struct {
    16  			Zip   string
    17  			Block string
    18  			Full  string
    19  		}
    20  	}
    21  	EventChan chan Event
    22  	SigChan   chan int
    23  	Callback  func(string) bool
    24  	CallbackN func(param string) bool
    25  }
    26  
    27  type ta TestAlias
    28  
    29  type tt time.Time
    30  
    31  type mm map[string]interface{}
    32  
    33  type MyInter interface {
    34  	Speak() error
    35  }
    36  
    37  type starM *time.Time