mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
docs: update docs regarding to settings v2
This commit is contained in:
parent
60034145fa
commit
80cb8e1151
39 changed files with 1080 additions and 321 deletions
|
@ -55,14 +55,6 @@ type DataList struct {
|
|||
Pagination Pagination `json:"pagination,omitempty"`
|
||||
}
|
||||
|
||||
func TotalPage(total int64, pageSize int) int64 {
|
||||
n := total / int64(pageSize)
|
||||
if total%int64(pageSize) > 0 {
|
||||
n++
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
type Method interface {
|
||||
// FirstByID Where("id=@id")
|
||||
FirstByID(id int) (*gen.T, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue