Versions in this module Expand all Collapse all v3 v3.0.0 Jul 11, 2026 Changes in this version + type Bool struct + func NewBool(value bool) Bool + func NewNullBool() Bool + func (nv Bool) Equal(value Bool) bool + type Byte = UInt8 + type Float32 struct + func NewFloat32(value float32) Float32 + func NewNullFloat32() Float32 + func (nv Float32) Equal(value Float32) bool + func (nv Float32) EqualBits(value Float32) bool + func (nv Float32) EqualEpsilon(value Float32, epsilon float32) bool + type Float64 struct + func NewFloat64(value float64) Float64 + func NewNullFloat64() Float64 + func (nv Float64) Equal(value Float64) bool + func (nv Float64) EqualBits(value Float64) bool + func (nv Float64) EqualEpsilon(value Float64, epsilon float64) bool + type Int struct + func NewInt(value int) Int + func NewNullInt() Int + func (nv Int) Equal(value Int) bool + type Int16 struct + func NewInt16(value int16) Int16 + func NewNullInt16() Int16 + func (nv Int16) Equal(value Int16) bool + type Int32 struct + func NewInt32(value int32) Int32 + func NewNullInt32() Int32 + func (nv Int32) Equal(value Int32) bool + type Int64 struct + func NewInt64(value int64) Int64 + func NewNullInt64() Int64 + func (nv Int64) Equal(value Int64) bool + type Int8 struct + func NewInt8(value int8) Int8 + func NewNullInt8() Int8 + func (nv Int8) Equal(value Int8) bool + type NullableBase struct + func NewNullableBase[T any](value T) NullableBase[T] + func (nv *NullableBase[T]) Scan(src any) error + func (nv *NullableBase[T]) SetNull() + func (nv *NullableBase[T]) SetSqlNull(value sql.Null[T]) + func (nv *NullableBase[T]) SetValue(value T) + func (nv *NullableBase[T]) UnmarshalJSON(data []byte) error + func (nv NullableBase[T]) IsNull() bool + func (nv NullableBase[T]) MarshalJSON() ([]byte, error) + func (nv NullableBase[T]) RawValue() T + func (nv NullableBase[T]) SqlNull() sql.Null[T] + func (nv NullableBase[T]) Value() (driver.Value, error) + func (nv NullableBase[T]) ValueOrZero() T + type Rune = Int32 + type String struct + func NewNullString() String + func NewString(value string) String + func (nv String) Equal(value String) bool + type Time struct + func NewNullTime() Time + func NewTime(value time.Time) Time + func (nv Time) Equal(value Time) bool + type UInt struct + func NewNullUInt() UInt + func NewUInt(value uint) UInt + func (nv UInt) Equal(value UInt) bool + type UInt16 struct + func NewNullUInt16() UInt16 + func NewUInt16(value uint16) UInt16 + func (nv UInt16) Equal(value UInt16) bool + type UInt32 struct + func NewNullUInt32() UInt32 + func NewUInt32(value uint32) UInt32 + func (nv UInt32) Equal(value UInt32) bool + type UInt64 struct + func NewNullUInt64() UInt64 + func NewUInt64(value uint64) UInt64 + func (nv UInt64) Equal(value UInt64) bool + type UInt8 struct + func NewNullUInt8() UInt8 + func NewUInt8(value uint8) UInt8 + func (nv UInt8) Equal(value UInt8) bool Other modules containing this package github.com/MitarashiDango/go-nullable github.com/MitarashiDango/go-nullable/v2