Documentation ¶
Index ¶
- func InitNilSlice(v any)
- func InitNilSliceFlat(i any)
- func MarshalLowerCase(v any) (bytes []byte, err error)
- func NullArray(bytes []byte) []byte
- func SetIfExists[T any](src StringNumberI[T], dst *T) (err error)
- func ToLowerCase(j []byte)
- type Bool
- type Duration
- type Float64
- type Int64
- type Optional
- type StringFloat64
- func (o StringFloat64) Empty() bool
- func (o StringFloat64) Exists() bool
- func (o *StringFloat64) Set(v float64)
- func (o *StringFloat64) SetWithPrecision(v float64, precison int)
- func (o StringFloat64) Value() (float64, error)
- func (o StringFloat64) ValueOr(v float64) float64
- func (o StringFloat64) ValueOrDefault() float64
- type StringInt64
- type StringNumber
- type StringNumberI
- type TimeMs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitNilSlice ¶ added in v0.5.22
func InitNilSlice(v any)
func InitNilSliceFlat ¶ added in v0.5.22
func InitNilSliceFlat(i any)
func MarshalLowerCase ¶ added in v0.1.74
func SetIfExists ¶ added in v0.7.2
func SetIfExists[T any](src StringNumberI[T], dst *T) (err error)
func ToLowerCase ¶ added in v0.1.74
func ToLowerCase(j []byte)
Types ¶
type Duration ¶ added in v0.1.86
func (Duration) MarshalJSON ¶ added in v0.7.23
func (*Duration) UnmarshalJSON ¶ added in v0.1.86
type Float64 ¶ added in v0.2.16
type Float64 float64
func (Float64) MarshalJSON ¶ added in v0.2.16
func (*Float64) UnmarshalJSON ¶ added in v0.2.16
type Int64 ¶ added in v0.2.16
type Int64 int64
func (Int64) MarshalJSON ¶ added in v0.2.16
func (*Int64) UnmarshalJSON ¶ added in v0.2.16
type Optional ¶ added in v0.1.85
func (*Optional[T]) UnmarshalJSON ¶ added in v0.1.85
type StringFloat64 ¶ added in v0.2.45
type StringFloat64 string
func (StringFloat64) Empty ¶ added in v0.2.45
func (o StringFloat64) Empty() bool
func (StringFloat64) Exists ¶ added in v0.2.45
func (o StringFloat64) Exists() bool
func (*StringFloat64) Set ¶ added in v0.3.26
func (o *StringFloat64) Set(v float64)
func (*StringFloat64) SetWithPrecision ¶ added in v0.3.27
func (o *StringFloat64) SetWithPrecision(v float64, precison int)
func (StringFloat64) Value ¶ added in v0.2.45
func (o StringFloat64) Value() (float64, error)
func (StringFloat64) ValueOr ¶ added in v0.2.56
func (o StringFloat64) ValueOr(v float64) float64
func (StringFloat64) ValueOrDefault ¶ added in v0.2.56
func (o StringFloat64) ValueOrDefault() float64
type StringInt64 ¶ added in v0.2.45
type StringInt64 string
func (StringInt64) Empty ¶ added in v0.2.45
func (o StringInt64) Empty() bool
func (StringInt64) Exists ¶ added in v0.2.45
func (o StringInt64) Exists() bool
func (*StringInt64) Set ¶ added in v0.3.26
func (o *StringInt64) Set(v int64)
func (StringInt64) Value ¶ added in v0.2.45
func (o StringInt64) Value() (int64, error)
func (StringInt64) ValueOr ¶ added in v0.2.56
func (o StringInt64) ValueOr(v int64) int64
func (StringInt64) ValueOrDefault ¶ added in v0.2.56
func (o StringInt64) ValueOrDefault() int64
type StringNumber ¶ added in v0.2.44
type StringNumber string
func (StringNumber) Empty ¶ added in v0.2.44
func (o StringNumber) Empty() bool
func (StringNumber) Exists ¶ added in v0.2.44
func (o StringNumber) Exists() bool
func (StringNumber) Float64 ¶ added in v0.2.44
func (o StringNumber) Float64() (float64, error)
func (StringNumber) Int64 ¶ added in v0.2.44
func (o StringNumber) Int64() (int64, error)
type StringNumberI ¶ added in v0.7.2
Click to show internal directories.
Click to hide internal directories.