Documentation ¶ Index ¶ type Base type Event type Field type MappingPayload type MyInter type Order type PageFilter type PageRet type TestAlias Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Base ¶ added in v0.2.6 type Base struct { Index string Type string } type Event ¶ added in v0.2.6 type Event struct { Name string EventType int } type Field ¶ added in v0.2.6 type Field struct { Name string Type string Format string } type MappingPayload ¶ added in v0.2.6 type MappingPayload struct { Base Fields []Field Index string } type MyInter ¶ added in v0.2.6 type MyInter interface { Speak() error } type Order ¶ type Order struct { Col string Sort string } 排序条件 type PageFilter ¶ type PageFilter struct { // 真实姓名,前缀匹配 Name string // 所属部门ID Dept int } 筛选条件 type PageRet ¶ type PageRet struct { Items interface{} PageNo int PageSize int Total int HasNext bool } type TestAlias ¶ added in v0.2.6 type TestAlias struct { Age age School []struct { Name string Addr struct { Zip string Block string Full string } } EventChan chan Event SigChan chan int Callback func(string) bool CallbackN func(param string) bool } Source Files ¶ View all Source files vo.go vo1.go Click to show internal directories. Click to hide internal directories.