26 lines
453 B
Go
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
|
|
}
|