Versions in this module Expand all Collapse all v1 v1.3.0 Jun 9, 2026 Changes in this version + const Bit + const Byte + const Exabyte + const Gigabyte + const Kilobyte + const Megabyte + const Petabyte + const Terabyte + const Version + type Bits int64 + func ParseBits(s string) (Bits, error) + func (b Bits) Bytes() float64 + func (b Bits) Gigabytes() float64 + func (b Bits) Kilobytes() float64 + func (b Bits) Megabytes() float64 + func (b Bits) String() string + type NullString struct + String string + Valid bool + func (ns *NullString) Scan(value any) error + func (ns *NullString) UnmarshalJSON(b []byte) error + func (ns NullString) MarshalJSON() ([]byte, error) + func (ns NullString) Value() (driver.Value, error) + type NullTime struct + Time time.Time + Valid bool + func (nt *NullTime) Scan(value any) error + func (nt *NullTime) UnmarshalJSON(b []byte) error + func (nt NullTime) MarshalJSON() ([]byte, error) + func (nt NullTime) Value() (driver.Value, error) + type PrefixUUID struct + Prefix string + UUID uuid.UUID + func GenerateUUID(prefix string) PrefixUUID + func NewPrefixUUID(caboodle string) (PrefixUUID, error) + func (pu *PrefixUUID) Scan(value any) error + func (pu *PrefixUUID) UnmarshalJSON(b []byte) error + func (pu PrefixUUID) MarshalJSON() ([]byte, error) + func (pu PrefixUUID) Value() (driver.Value, error) + func (u PrefixUUID) String() string