Documentation ¶
Index ¶
- Constants
- func GetIP(c *gin.Context) string
- func GetLimit(c *gin.Context) int
- func GetOffset(c *gin.Context) (int, int)
- func GetPage(c *gin.Context) int
- func GetPlatform(c *gin.Context) string
- func GetSiteCode(c *gin.Context) string
- func IsAjax(c *gin.Context) bool
- type Cond
- func (ths *Cond) And(key string, value interface{})
- func (ths *Cond) Build() string
- func (ths *Cond) Ge(key string, value interface{})
- func (ths *Cond) Gt(key string, value interface{})
- func (ths *Cond) Le(key string, value interface{})
- func (ths *Cond) Like(key string, value interface{})
- func (ths *Cond) Lt(key string, value interface{})
- func (ths *Cond) Or(key string, value interface{})
Constants ¶
View Source
const PageSize = 15
PageSize 默认分页大小
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.