GO-2024-3287: Apache Answer: Predictable Authorization Token Using UUIDv1 in github.com/apache/incubator-answer
package
Version:
v1.4.1-RC2
Opens a new window with list of versions in this module.
Published: Nov 6, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Help(page, pageSize int, rowsSlicePtr interface{}, rowElement interface{}, session *xorm.Session) (total int64, err error)
Help xorm page helper
func ValPageAndPageSize(page, pageSize int) (int, int)
ValPageAndPageSize validate page pageSize
func ValPageOutOfRange(total int64, page, pageSize int) bool
ValPageOutOfRange validate page out of range
type PageCond struct {
Page int
PageSize int
}
PageCond page condition
type PageModel struct {
Count int64 `json:"count"`
List interface{} `json:"list"`
}
PageModel page model
NewPageModel new page model
Source Files
¶
Click to show internal directories.
Click to hide internal directories.