Versions in this module Expand all Collapse all v1 v1.3.11 Feb 3, 2021 v1.3.10 Jul 2, 2020 v1.3.7 Feb 28, 2020 Changes in this version + type FlagSet map[string]bool + func NewFlagSet() FlagSet + func (fs FlagSet) AllTrue() bool + func (fs FlagSet) GetNotMatchedKeys() []string + type KeyValueBool struct + Key string + Value bool + type KeyValueInt struct + Key string + Value int + type KeyValueInt64 struct + Key string + Value int64 + type KeyValueInterface struct + Key string + Value interface{} + type KeyValueStr struct + Key string + Value string v1.3.2 Sep 22, 2019 v1.2.5 Feb 11, 2019 Changes in this version + var SalutationMap map[int]string + var ZERO = NewDecimalFromInt(0) + func ConvertEnumToString(mappedValues map[int]string, valueToConvert int) string + func ConvertInterfaceToEnum(mappedValues map[int]string, valueToConvert interface{}, enumName string) (int, error) + func ConvertStringToEnum(mappedValues map[int]string, valueToConvert, enumName string) (int, error) + func GenerateEnumQueryPart(mappedValues map[int]string) string + type Decimal struct + func NewDecimalFromFloat(input float64) Decimal + func NewDecimalFromInt(input int64) Decimal + func NewDecimalFromString(input string) Decimal + func (d *Decimal) Scan(value interface{}) error + func (d *Decimal) UnmarshalJSON(decimalBytes []byte) error + func (d Decimal) Add(dec Decimal) Decimal + func (d Decimal) CeilToValue(dec Decimal) Decimal + func (d Decimal) DecrementByPercent(dec Decimal) Decimal + func (d Decimal) Div(dec Decimal) Decimal + func (d Decimal) Equal(dec Decimal) bool + func (d Decimal) EqualInt(input int64) bool + func (d Decimal) EqualZero() bool + func (d Decimal) Floor() Decimal + func (d Decimal) FloorToValue(dec Decimal) Decimal + func (d Decimal) Greater(dec Decimal) bool + func (d Decimal) GreaterInt(input int64) bool + func (d Decimal) GreaterOrEqual(dec Decimal) bool + func (d Decimal) GreaterOrEqualInt(input int64) bool + func (d Decimal) GreaterOrEqualZero() bool + func (d Decimal) GreaterZero() bool + func (d Decimal) IncrementByPercent(dec Decimal) Decimal + func (d Decimal) Less(dec Decimal) bool + func (d Decimal) LessOrEqual(dec Decimal) bool + func (d Decimal) LessOrEqualZero() bool + func (d Decimal) LessZero() bool + func (d Decimal) LowerOrEqualInt(input int64) bool + func (d Decimal) MarshalJSON() ([]byte, error) + func (d Decimal) Mul(dec Decimal) Decimal + func (d Decimal) Round(places int64) Decimal + func (d Decimal) String() string + func (d Decimal) Sub(dec Decimal) Decimal + func (d Decimal) ToFloat() float64 + func (d Decimal) ToPercent(places int64) Decimal + func (d Decimal) Value() (driver.Value, error) + type NullDate struct + func (nd *NullDate) UnmarshalJSON(input []byte) error + func (nd NullDate) MarshalJSON() ([]byte, error) + type NullDecimal struct + DecimalValue Decimal + Valid bool + func (nd *NullDecimal) Scan(value interface{}) (err error) + func (nd *NullDecimal) UnmarshalJSON(input []byte) error + func (nd NullDecimal) MarshalJSON() ([]byte, error) + func (nd NullDecimal) Value() (driver.Value, error) + type NullFloat64 struct + func (nf *NullFloat64) UnmarshalJSON(input []byte) error + func (nf NullFloat64) MarshalJSON() ([]byte, error) + type NullInt64 struct + func (ni *NullInt64) UnmarshalJSON(input []byte) error + func (ni NullInt64) MarshalJSON() ([]byte, error) + type NullString struct + func (ns *NullString) UnmarshalJSON(input []byte) error + func (ns NullString) MarshalJSON() ([]byte, error) + type NullTime struct + func (nt *NullTime) UnmarshalJSON(input []byte) error + func (nt NullTime) MarshalJSON() ([]byte, error) + type Person struct + Name string + Salutation Salutation + type Salutation int + const DR + const MR + const MRS + const MS + func (s *Salutation) Scan(value interface{}) error + func (s *Salutation) SetFromName(uidName string) error + func (s *Salutation) UnmarshalJSON(jsonInput []byte) error + func (s Salutation) MarshalJSON() ([]byte, error) + func (s Salutation) String() string + func (s Salutation) Value() (driver.Value, error) + type StringNumber struct + func (sn *StringNumber) UnmarshalJSON(input []byte) error + func (sn StringNumber) MarshalJSON() ([]byte, error) + func (sn StringNumber) String() string + type StringSet []string + func (vs *StringSet) Add(value string) + func (vs *StringSet) MarshalJSON() ([]byte, error) + func (vs *StringSet) Scan(value interface{}) error + func (vs *StringSet) UnmarshalJSON(jsonInput []byte) error + func (vs StringSet) Contains(needle string) bool + func (vs StringSet) String() string + func (vs StringSet) ToStrings() (result []string) + func (vs StringSet) Value() (driver.Value, error)