Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCallback ¶
DeleteCallback used to delete data from database or set DeletedTime to current time and is_del = 1(when using with soft delete).
func UpdateTimeStampForCreateCallback ¶
UpdateTimeStampForCreateCallback sets `CreateTime`, `ModifyTime` when creating.
func UpdateTimeStampForUpdateCallback ¶
UpdateTimeStampForUpdateCallback sets `ModifyTime` when updating.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.