Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DemoCreateInput ¶
type DemoCreateOutput ¶
type DemoCreateOutput struct {
ID uint
}
type DemoListInput ¶
type DemoListOutput ¶
type DemoListOutput struct { PageNum int PageSize int Total int List []DemoListOutputItem }
type DemoListOutputItem ¶
type DemoListOutputItem struct { ID uint `json:"id"` Fielda string `json:"fielda"` CreatedAt *gtime.Time `json:"created_at"` UpdatedAt *gtime.Time `json:"updated_at"` }
DemoListOutputItem NOTE: 此处为了不返回Fieldb字段, 所以重新定义返回结构体, 否则可以直接使用enttity.Demo.
type DemoUpdateInput ¶
type DemoUpdateOutput ¶
type DemoUpdateOutput struct { }
Click to show internal directories.
Click to hide internal directories.