package
5.0.0
Repository: https://github.com/guregu/null.git
Documentation: pkg.go.dev

# Functions

BoolFrom creates a new Bool that will be null if false.
BoolFromPtr creates a new Bool that be null if b is nil.
ByteFrom creates a new Byte that will be null if zero.
ByteFromPtr creates a new Byte that be null if i is nil.
FloatFrom creates a new Float that will be null if zero.
FloatFromPtr creates a new Float that be null if f is nil.
Int16From creates a new Int16 that will be null if zero.
Int16FromPtr creates a new Int16 that be null if i is nil.
Int32From creates a new Int32 that will be null if zero.
Int32FromPtr creates a new Int32 that be null if i is nil.
IntFrom creates a new Int that will be null if zero.
IntFromPtr creates a new Int that be null if i is nil.
NewBool creates a new Bool.
NewByte creates a new Byte.
NewFloat creates a new Float.
NewInt creates a new Int.
NewInt16 creates a new Int16.
NewInt32 creates a new Int32.
NewString creates a new String.
NewTime creates a new Time.
NewValue creates a new Value.
StringFrom creates a new String that will be null if s is blank.
StringFromPtr creates a new String that be null if s is nil or blank.
TimeFrom creates a new Time that will be null if t is the zero value.
TimeFromPtr creates a new Time that will be null if t is nil or *t is the zero value.
ValueFrom creates a new Value that will always be valid.
ValueFromPtr creates a new Value that will be null if t is nil.

# Structs

Bool is a nullable bool.
Byte is a nullable byte.
Float is a nullable float64.
Int is a nullable int64.
Int16 is a nullable int16.
Int32 is a nullable int32.
String is a nullable string.
Time is a nullable time.Time.
No description provided by the author

# Type aliases

Int64 is an alias for Int.