Versions in this module Expand all Collapse all v0 v0.1.0 Mar 13, 2024 Changes in this version + func CantDecodeHex(err error, s string) error + func CantParseFloat64(err error, s string) error + func CantParseInt64(err error, s string) error + func CantParseUint64(err error, s string) error + func CantPerformQuery(err error, q string) error + func CantUnmarshalYAML(err error, v interface{}) error + func Checksum(data interface{}) []byte + func FromUnixMilli(ms int64) time.Time + func MarshalJSON(v interface{}) ([]byte, error) + func MaxInt[T constraints.Integer](x, y T) T + func Name(t interface{}) string + func UnmarshalJSON(data []byte, v interface{}) error + type Binary []byte + func (binary *Binary) Scan(src interface{}) error + func (binary *Binary) UnmarshalJSON(data []byte) error + func (binary *Binary) UnmarshalText(text []byte) error + func (binary Binary) MarshalJSON() ([]byte, error) + func (binary Binary) MarshalText() ([]byte, error) + func (binary Binary) String() string + func (binary Binary) Valid() bool + func (binary Binary) Value() (driver.Value, error) + type Bitmask struct + func (b *Bitmask[T]) Clear(flag T) + func (b *Bitmask[T]) Scan(src interface{}) error + func (b *Bitmask[T]) Set(flag T) + func (b *Bitmask[T]) Toggle(flag T) + func (b Bitmask[T]) Bits() T + func (b Bitmask[T]) Has(flag T) bool + func (b Bitmask[T]) Value() (driver.Value, error) + type Bool struct + Bool bool + Valid bool + func (b *Bool) Scan(src interface{}) error + func (b *Bool) UnmarshalJSON(data []byte) error + func (b *Bool) UnmarshalText(text []byte) error + func (b Bool) MarshalJSON() ([]byte, error) + func (b Bool) Value() (driver.Value, error) + type UnixMilli time.Time + func (t *UnixMilli) Scan(src interface{}) error + func (t *UnixMilli) UnmarshalJSON(data []byte) error + func (t *UnixMilli) UnmarshalText(text []byte) error + func (t UnixMilli) MarshalJSON() ([]byte, error) + func (t UnixMilli) Time() time.Time + func (t UnixMilli) Value() (driver.Value, error)