customtype

package
v0.0.0-...-984c388 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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.

type Enum

type Enum interface {
	fmt.Stringer
}

Enum set of enumerated values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL