Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auditable ¶
type Auditable struct { IsActive bool `json:"is_active,omitempty"` Version uint32 `json:"version,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty"` }
Auditable metadata fields used to keep track of interactions between the system and its data.
Eases complexity from scenarios where Change-Data-Capture (CDC) is required.
func NewAuditable ¶
func NewAuditable() Auditable
NewAuditable allocates an Auditable instance using default values.
Click to show internal directories.
Click to hide internal directories.