Documentation ¶
Overview ¶
Package mixin contains the mixin package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuditMixin ¶
AuditMixin provides auditing for all records where enabled. The created_at, created_by, updated_at, and updated_by records are automatically populated when this mixin is enabled.
type IDMixin ¶
type IDMixin struct { mixin.Schema // ExcludeMappingID to exclude the mapping ID field to the schema that can be used without exposing the primary ID // by default, it is included in any schema that uses this mixin. ExcludeMappingID bool }
IDMixin holds the schema definition for the ID
type UnexpectedAuditError ¶
UnexpectedAuditError is returned when an unexpected audit log call is received
func (*UnexpectedAuditError) Error ¶
func (e *UnexpectedAuditError) Error() string
Error returns the UnexpectedAuditError in string format
Click to show internal directories.
Click to hide internal directories.