Documentation ¶
Index ¶
- func CheckJSON(context any, params interface{}) (b bool)
- func GetID(context any) (int64, bool)
- func GetIDByName(context any, name string) (int64, bool)
- func GetIDByNameNoErr(context any, name string) (int64, bool)
- func GetInt64ByName(context any, name string) (int64, bool)
- func GetJSON(context any, params interface{}) (b bool)
- func GetMark(context any) (string, bool)
- func GetMarkByName(context any, name string) (string, bool)
- type ActionIDAndUserType
- type ActionIDType
- type ParamsListType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInt64ByName ¶
GetInt64ByName 获取指定的Int64数据
Types ¶
type ActionIDAndUserType ¶
func GetActionIDAndUser ¶
func GetActionIDAndUser(context any) (ActionIDAndUserType, bool)
type ParamsListType ¶
type ParamsListType struct { Page int64 `json:"page" check:"page"` Max int64 `json:"max" check:"max"` Sort string `json:"sort" check:"sort"` Desc bool `json:"desc" check:"desc"` Search string `json:"search" check:"search" empty:"true"` }
func GetDataList ¶
func GetDataList(context any) (ParamsListType, bool)
Click to show internal directories.
Click to hide internal directories.