datatypes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrencyFloat

type CurrencyFloat float32

func (*CurrencyFloat) Scan

func (c *CurrencyFloat) Scan(value interface{}) (err error)

type Date

type Date time.Time

func (*Date) GobDecode

func (date *Date) GobDecode(b []byte) error

func (Date) GobEncode

func (date Date) GobEncode() ([]byte, error)

func (Date) GormDataType

func (date Date) GormDataType() string

GormDataType gorm common data type

func (Date) MarshalJSON

func (date Date) MarshalJSON() ([]byte, error)

func (*Date) Scan

func (date *Date) Scan(value interface{}) (err error)

func (Date) String

func (date Date) String() string

func (*Date) UnmarshalJSON

func (date *Date) UnmarshalJSON(b []byte) error

func (Date) Value

func (date Date) Value() (driver.Value, error)

type Datetime

type Datetime time.Time

func (*Datetime) GobDecode

func (date *Datetime) GobDecode(b []byte) error

func (Datetime) GobEncode

func (date Datetime) GobEncode() ([]byte, error)

func (Datetime) GormDataType

func (date Datetime) GormDataType() string

GormDataType gorm common data type

func (Datetime) MarshalJSON

func (date Datetime) MarshalJSON() ([]byte, error)

func (*Datetime) Scan

func (date *Datetime) Scan(value interface{}) (err error)

func (*Datetime) UnmarshalJSON

func (date *Datetime) UnmarshalJSON(b []byte) error

func (Datetime) Value

func (date Datetime) Value() (driver.Value, error)

type RoundedFloat

type RoundedFloat float32

func (RoundedFloat) Value

func (f RoundedFloat) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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