Documentation
¶
Overview ¶
Package sqltype 提供面向存储模型的通用字段类型与标记接口。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeletedAtMarker ¶
type DeletedAtMarker interface {
MarkDeletedAt()
}
DeletedAtMarker 表示模型支持标记删除时间。
type SoftDeleteValueGetter ¶
SoftDeleteValueGetter 表示模型可读取当前软删除值。
type WithCreationTime ¶
type WithCreationTime interface {
MarkCreatedAt()
}
WithCreationTime 表示模型支持标记创建时间。
type WithModificationTime ¶
type WithModificationTime interface {
MarkModifiedAt()
}
WithModificationTime 表示模型支持标记修改时间。
type WithSoftDelete ¶
WithSoftDelete 表示模型暴露软删除字段及其零值。
Click to show internal directories.
Click to hide internal directories.