link/vendor/gorm.io/gorm/schema/interfaces.go
2021-06-05 20:48:24 +00:00

26 lines
453 B
Go

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
}