finclip-app-manager/vendor/gorm.io/gorm/schema/interfaces.go

26 lines
453 B
Go
Raw Normal View History

2023-11-02 18:36:36 +08:00
package schema
import (
"gorm.io/gorm/clause"
)
type GormDataTypeInterface interface {
GormDataType() string
}
type CreateClausesInterface interface {
CreateClauses(*Field) []clause.Interface
}
type QueryClausesInterface interface {
QueryClauses(*Field) []clause.Interface
}
type UpdateClausesInterface interface {
UpdateClauses(*Field) []clause.Interface
}
type DeleteClausesInterface interface {
DeleteClauses(*Field) []clause.Interface
}