docs: update docs regarding to settings v2

This commit is contained in:
Jacky 2024-10-22 23:56:56 +08:00
parent 60034145fa
commit 80cb8e1151
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
39 changed files with 1080 additions and 321 deletions

View file

@ -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)