feat: init repo
This commit is contained in:
7
templates/project/pkg/db/pagination.go.tpl
Normal file
7
templates/project/pkg/db/pagination.go.tpl
Normal file
@@ -0,0 +1,7 @@
|
||||
package db
|
||||
|
||||
type Pagination struct {
|
||||
Offset string `json:"offset,omitempty"`
|
||||
OffsetID int64 `json:"-"`
|
||||
Action int `json:"action"` // action: 0 :加载更多 1:刷新
|
||||
}
|
||||
Reference in New Issue
Block a user