Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyObjectJSON = json.RawMessage("{}")
Functions ¶
func ScanJSON ¶
func ScanJSON(src interface{}, target interface{}) error
ScanJSON is a generic scanner function to parse json from row data
func ToBaseFieldDTO ¶
func ToModifierDTO ¶
Types ¶
type BaseField ¶
type BaseField struct { CreatedAt time.Time `db:"createdAt"` UpdatedAt time.Time `db:"updatedAt"` ModifiedBy *Modifier `db:"modifiedBy"` Version int64 `db:"version"` Metadata json.RawMessage `db:"metadata"` }
func NewBaseField ¶
Click to show internal directories.
Click to hide internal directories.