Documentation ¶
Index ¶
- func Compare(v1 interface{}, operation string, v2 interface{}) bool
- func SCompare(v1 interface{}, operation string, v2 interface{}) (bool, error)
- type FCT
- func (slf FCT) Ceil(places ...int) FCT
- func (slf FCT) Decimal() decimal.Decimal
- func (slf FCT) Float64() float64
- func (slf FCT) Floor(places ...int) FCT
- func (slf FCT) Int() int
- func (slf FCT) Int64() int64
- func (slf FCT) MarshalJSON() ([]byte, error)
- func (slf FCT) Pow(val interface{}) FCT
- func (slf *FCT) PtrCeil(opt ...interface{}) *FCT
- func (slf *FCT) PtrDecimal() *decimal.Decimal
- func (slf *FCT) PtrFloat64(defaultValue ...float64) *float64
- func (slf *FCT) PtrFloor(opt ...interface{}) *FCT
- func (slf *FCT) PtrInt(defaultValue ...int) *int
- func (slf *FCT) PtrInt64(defaultValue ...int64) *int64
- func (slf *FCT) PtrRound(places int, defaultValue ...FCT) *FCT
- func (slf *FCT) PtrTruncate(places ...int) *FCT
- func (slf FCT) Round(places int) FCT
- func (slf FCT) SPow(val interface{}) (FCT, error)
- func (slf *FCT) Scan(value interface{}) error
- func (slf *FCT) ToString() string
- func (slf FCT) Truncate(places ...int) FCT
- func (slf *FCT) UnmarshalJSON(decimalBytes []byte) error
- func (slf FCT) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FCT ¶
func (FCT) MarshalJSON ¶ added in v1.1.16
MarshalJSON implements the json.Marshaler interface.
func (*FCT) PtrCeil ¶ added in v1.1.19
Places parameter using int/int32/int64 type. DefaultValue using fc.FCT type.
func (*FCT) PtrDecimal ¶ added in v1.1.16
func (*FCT) PtrFloat64 ¶ added in v1.1.16
func (*FCT) PtrFloor ¶ added in v1.1.16
Places parameter using int/int32/int64 type. DefaultValue using fc.FCT type.
func (*FCT) PtrTruncate ¶ added in v1.1.23
func (*FCT) Scan ¶ added in v1.1.16
Scan implements the sql.Scanner interface for database deserialization.
func (*FCT) UnmarshalJSON ¶ added in v1.1.16
UnmarshalJSON implements the json.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.