Documentation ¶
Overview ¶
author gmfan date 2023/6/27
Index ¶
Constants ¶
View Source
const ( // ASC 升序 ASC = "asc" // DESC 降序 DESC = "desc" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FailResp ¶
func NewFailResp ¶
type PageResult ¶
func NewPageResult ¶ added in v1.0.10
func NewPageResult(rows any, total int64) *PageResult
type SuccessResp ¶
type SuccessResp struct { Code uint32 `json:"code"` Msg string `json:"msg"` Data any `json:"data"` }
func NewSuccessResp ¶
func NewSuccessResp(code uint32, msg string, data any) *SuccessResp
Click to show internal directories.
Click to hide internal directories.