feat: add transformer for model

This commit is contained in:
rogeecn
2025-03-22 18:23:26 +08:00
parent e1eeb6bc0d
commit 501af58e66
6 changed files with 49 additions and 27 deletions

View File

@@ -4,8 +4,8 @@ import "github.com/samber/lo"
type Pager struct {
Pagination `json:",inline"`
Total int64 `json:"total"`
Items interface{} `json:"items"`
Total int64 `json:"total"`
Items any `json:"items"`
}
type Pagination struct {