Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CovenantSQL/CovenantSQL
/ SetSize
Method
SetSize
api/models/pagination.go:68–71 ·
view source on GitHub ↗
SetSize update page size.
(size int)
Source
from the content-addressed store, hash-verified
66
67
// SetSize update page size.
68
func
(p *Pagination) SetSize(size int) {
69
p.Size = size
70
p.normalize()
71
}
72
73
// SetTotal update the total records.
74
func
(p *Pagination) SetTotal(total int) {
Callers
nothing calls this directly
Calls
1
normalize
Method · 0.95
Tested by
no test coverage detected