增加option相关条件

This commit is contained in:
2022-05-15 17:35:41 +08:00
parent 0fab8b3296
commit 2b2e692a29
2 changed files with 240 additions and 10 deletions

10
base.go
View File

@ -7,16 +7,6 @@ package mysql
import "gorm.io/gorm"
// Option 扩展选项
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 8:05 下午 2021/8/8
type Option struct {
Limit int `json:"limit"` // 限制数量
Offset int `json:"offset"` // 偏移量
}
type BaseDao struct {
}