Documentation ¶
Overview ¶
* @Author: kamalyes 501893067@qq.com * @Date: 2023-07-28 00:50:58 * @LastEditors: kamalyes 501893067@qq.com * @LastEditTime: 2024-11-03 20:02:19 * @FilePath: \go-core\pkg\database\client.go * @Description: * * Copyright (c) 2024 by kamalyes, All Rights Reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelToCase ¶
func CheckPageRows ¶
CheckPageRows 获取页数和行数
Types ¶
type PageBean ¶
type PageBean struct { /** 当前页 */ Page int `json:"page"` /** 当前页的行数 */ PageSize int `json:"pageSize"` /** 总记录数 */ Total int64 `json:"total"` /** 每行的数据 */ Rows interface{} `json:"rows"` }
PageBean 全局分页对象
Click to show internal directories.
Click to hide internal directories.