Documentation
¶
Index ¶
- func BuildLoginSQL(tx *gorm.DB, query *model.UserLoginRequest, role ...string) *gorm.DB
- func BuildQuerySQL(tx *gorm.DB, query *model.QueryRequest, role ...string) *gorm.DB
- func ComList[T any](list []T, option Option) ([]T, error)
- func IgnoreStructCopy(to, from any, ignore string)
- func IsValidPassword(password string) bool
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildLoginSQL ¶
func BuildQuerySQL ¶
func IgnoreStructCopy ¶
func IsValidPassword ¶
Types ¶
type Option ¶
type Option struct { model.PageRequest Debug bool //是否显示日志 }
Click to show internal directories.
Click to hide internal directories.