Versions in this module Expand all Collapse all v0 v0.0.2 Mar 30, 2026 Changes in this version + func DecodeTime(value any) (any, error) + func ToTime(value any) (*time.Time, error) v0.0.1 Mar 26, 2026 Changes in this version + const DateFormat + const TimeFormat + func DecodeFloat64(value any) (any, error) + func DecodeInt64(value any) (any, error) + func DecodeString(value any) (any, error) + func ToFloat64(value any) (float64, error) + func ToInt64(value any) (int64, error) + func ToString(value any) string + type Float64 struct + Exist bool + Val *float64 + func NewFloat64(val float64) Float64 + func (f *Float64) Scan(value any) error + func (f *Float64) UnmarshalJSON(data []byte) error + func (f Float64) MarshalJSON() ([]byte, error) + func (f Float64) String() string + func (f Float64) Value() (driver.Value, error) + func (i *Float64) GetValue() *float64 + func (i *Float64) SetNull() *Float64 + func (i *Float64) SetValue(value float64) *Float64 + func (i *Float64) UnmarshalParam(param string) error + func (i *Float64) UnmarshalText(text []byte) error + func (i *Float64) ValueOr(v float64) float64 + func (i *Float64) ValueOrZero() float64 + func (i Float64) IsExists() bool + func (i Float64) IsExistsAndNotNull() bool + func (i Float64) IsExistsAndNull() bool + func (i Float64) IsZero() bool + type Int64 struct + Exist bool + Val *int64 + func NewInt64(val int64) Int64 + func (i *Int64) GetValue() *int64 + func (i *Int64) Scan(value any) error + func (i *Int64) SetNull() + func (i *Int64) SetValue(value int64) + func (i *Int64) UnmarshalJSON(data []byte) error + func (i *Int64) UnmarshalParam(param string) error + func (i *Int64) UnmarshalText(text []byte) error + func (i *Int64) ValueOr(v int64) int64 + func (i *Int64) ValueOrZero() int64 + func (i Int64) IsExists() bool + func (i Int64) IsExistsAndNotNull() bool + func (i Int64) IsExistsAndNull() bool + func (i Int64) IsZero() bool + func (i Int64) MarshalJSON() ([]byte, error) + func (i Int64) String() string + func (i Int64) Value() (driver.Value, error) + type String struct + Exist bool + Val *string + func NewString(val string) String + func (i *String) GetValue() *string + func (i *String) Scan(value any) error + func (i *String) SetNull() + func (i *String) SetValue(value string) + func (i *String) UnmarshalJSON(data []byte) error + func (i *String) UnmarshalParam(param string) error + func (i *String) UnmarshalText(text []byte) error + func (i *String) ValueOr(v string) string + func (i *String) ValueOrZero() string + func (i String) IsExists() bool + func (i String) IsExistsAndNotNull() bool + func (i String) IsExistsAndNull() bool + func (i String) IsZero() bool + func (i String) MarshalJSON() ([]byte, error) + func (i String) String() string + func (i String) Value() (driver.Value, error) + type Time struct + Exist bool + Val *time.Time + func NewTime(val time.Time) Time + func (Time) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (i *Time) GetValue() *time.Time + func (i *Time) SetNull() + func (i *Time) SetValue(value time.Time) + func (i *Time) UnmarshalParam(param string) error + func (i *Time) UnmarshalText(text []byte) error + func (i *Time) ValueOr(v time.Time) time.Time + func (i *Time) ValueOrZero() time.Time + func (i Time) IsExists() bool + func (i Time) IsExistsAndNotNull() bool + func (i Time) IsExistsAndNull() bool + func (i Time) IsZero() bool + func (t *Time) Scan(v any) error + func (t *Time) UnmarshalJSON(bs []byte) error + func (t Time) MarshalJSON() ([]byte, error) + func (t Time) String() string + func (t Time) Value() (driver.Value, error)