package g type PageResult struct { Rows any `json:"rows"` Count int64 `json:"count"` } func NewPageResult(c int64, r any) *PageResult { return &PageResult{ Rows: r, Count: c, } }