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

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