Documentation ¶
Index ¶
- type TableName1JsonResult
- func (result *TableName1JsonResult) Fail() *TableName1JsonResult
- func (result *TableName1JsonResult) FailCodeMsg(code int32, msg string) *TableName1JsonResult
- func (result *TableName1JsonResult) FailMessage(msg string) *TableName1JsonResult
- func (result *TableName1JsonResult) String() string
- func (result *TableName1JsonResult) Success() *TableName1JsonResult
- func (result *TableName1JsonResult) SuccessData(data model.TableName1) *TableName1JsonResult
- func (result *TableName1JsonResult) SuccessMessage(msg string) *TableName1JsonResult
- func (result *TableName1JsonResult) ToString() string
- type TableName1PageResult
- func (result *TableName1PageResult) Fail() *TableName1PageResult
- func (result *TableName1PageResult) FailCodeMsg(code int32, msg string) *TableName1PageResult
- func (result *TableName1PageResult) FailMessage(msg string) *TableName1PageResult
- func (result *TableName1PageResult) GetData() []model.TableName1
- func (result *TableName1PageResult) SetData(s []model.TableName1)
- func (result *TableName1PageResult) String() string
- func (result *TableName1PageResult) Success() *TableName1PageResult
- func (result *TableName1PageResult) SuccessData(data []model.TableName1) *TableName1PageResult
- func (result *TableName1PageResult) SuccessMessage(msg string) *TableName1PageResult
- func (result *TableName1PageResult) ToString() string
- type TableName1Param
- type TableName1QueryParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TableName1JsonResult ¶
type TableName1JsonResult struct { Code int32 `json:"code"` Msg string `json:"msg"` Data *model.TableName1 `json:"data"` }
func (*TableName1JsonResult) Fail ¶
func (result *TableName1JsonResult) Fail() *TableName1JsonResult
func (*TableName1JsonResult) FailCodeMsg ¶
func (result *TableName1JsonResult) FailCodeMsg(code int32, msg string) *TableName1JsonResult
func (*TableName1JsonResult) FailMessage ¶
func (result *TableName1JsonResult) FailMessage(msg string) *TableName1JsonResult
func (*TableName1JsonResult) String ¶
func (result *TableName1JsonResult) String() string
func (*TableName1JsonResult) Success ¶
func (result *TableName1JsonResult) Success() *TableName1JsonResult
func (*TableName1JsonResult) SuccessData ¶
func (result *TableName1JsonResult) SuccessData(data model.TableName1) *TableName1JsonResult
func (*TableName1JsonResult) SuccessMessage ¶
func (result *TableName1JsonResult) SuccessMessage(msg string) *TableName1JsonResult
func (*TableName1JsonResult) ToString ¶
func (result *TableName1JsonResult) ToString() string
type TableName1PageResult ¶
type TableName1PageResult struct { Code int32 `json:"code"` Msg string `json:"msg"` Page basedto.PageParam `json:"page"` Data []model.TableName1 `json:"data"` }
func (*TableName1PageResult) Fail ¶
func (result *TableName1PageResult) Fail() *TableName1PageResult
func (*TableName1PageResult) FailCodeMsg ¶
func (result *TableName1PageResult) FailCodeMsg(code int32, msg string) *TableName1PageResult
func (*TableName1PageResult) FailMessage ¶
func (result *TableName1PageResult) FailMessage(msg string) *TableName1PageResult
func (*TableName1PageResult) GetData ¶
func (result *TableName1PageResult) GetData() []model.TableName1
func (*TableName1PageResult) SetData ¶
func (result *TableName1PageResult) SetData(s []model.TableName1)
func (*TableName1PageResult) String ¶
func (result *TableName1PageResult) String() string
func (*TableName1PageResult) Success ¶
func (result *TableName1PageResult) Success() *TableName1PageResult
func (*TableName1PageResult) SuccessData ¶
func (result *TableName1PageResult) SuccessData(data []model.TableName1) *TableName1PageResult
func (*TableName1PageResult) SuccessMessage ¶
func (result *TableName1PageResult) SuccessMessage(msg string) *TableName1PageResult
func (*TableName1PageResult) ToString ¶
func (result *TableName1PageResult) ToString() string
type TableName1Param ¶
type TableName1QueryParam ¶
type TableName1QueryParam struct { Current int32 `json:"current"` PageSize int32 `json:"page_size"` OrderBys string `json:"order_bys"` FuzzyQuery bool `json:"fuzzy_query"` EsQuery bool `json:"es_query"` Param *TableName1Param `json:"param"` }
func (*TableName1QueryParam) Ini ¶
func (param *TableName1QueryParam) Ini()
func (*TableName1QueryParam) String ¶
func (param *TableName1QueryParam) String() string
func (*TableName1QueryParam) ToString ¶
func (param *TableName1QueryParam) ToString() string
Click to show internal directories.
Click to hide internal directories.