mrentity

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FactoryErrInternalListOfFieldsIsEmpty = NewFactory(
		"errInternalListOfFieldsIsEmpty", ErrorKindInternalNotice, "the list of fields is empty")
)

Functions

func BoolPointer

func BoolPointer(value bool) *bool

func FilledFieldsToUpdate

func FilledFieldsToUpdate(entity any) (map[string]any, error)

Types

type EmptynullString

type EmptynullString string

func (*EmptynullString) Scan

func (n *EmptynullString) Scan(value any) error

Scan implements the Scanner interface.

func (EmptynullString) Value

func (n EmptynullString) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type Int32

type Int32 int32

type Int64

type Int64 int64

type KeyInt32

type KeyInt32 int32

type KeyInt64

type KeyInt64 int64

type KeyString

type KeyString string

type Version

type Version int32

type ZeronullInt32

type ZeronullInt32 int32

func (*ZeronullInt32) Scan

func (n *ZeronullInt32) Scan(value any) error

Scan implements the Scanner interface.

func (ZeronullInt32) Value

func (n ZeronullInt32) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type ZeronullInt64

type ZeronullInt64 int64

func (*ZeronullInt64) Scan

func (n *ZeronullInt64) Scan(value any) error

Scan implements the Scanner interface.

func (ZeronullInt64) Value

func (n ZeronullInt64) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type ZeronullTime

type ZeronullTime time.Time

func (*ZeronullTime) Scan

func (n *ZeronullTime) Scan(value any) error

Scan implements the Scanner interface.

func (ZeronullTime) Value

func (n ZeronullTime) Value() (driver.Value, error)

Value implements the driver Valuer interface.

Jump to

Keyboard shortcuts

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