Documentation ¶
Index ¶
- Variables
- func GenTID() string
- func SysToIsNull(table string) func(d *gorm.DB) *gorm.DB
- func ValidToIsNull(table string) func(d *gorm.DB) *gorm.DB
- func WithID(id IDer) func(d *gorm.DB) *gorm.DB
- func WithSysAt(sysAt time.Time) func(d *gorm.DB) *gorm.DB
- func WithTID(tid TIDer) func(d *gorm.DB) *gorm.DB
- func WithValidAt(validAt time.Time) func(d *gorm.DB) *gorm.DB
- type IDer
- type TIDer
- type Temporal
- type TemporalModel
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
All errors for every gotemporal packages
Functions ¶
func SysToIsNull ¶
SysToIsNull where code = <input value>
func ValidToIsNull ¶
ValidToIsNull where the valid_to column is NULL
Types ¶
type TemporalModel ¶
Click to show internal directories.
Click to hide internal directories.