package
7.0.1+incompatible
Repository: https://github.com/axiomzen/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.
FloatFrom creates a new Float that will be null if zero.
FloatFromPtr creates a new Float that be null if f 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.
Int64From creates a new Int64 that will be null if zero.
Int64FromPtr creates a new Int64 that be null if i is nil.
NewBool creates a new Bool.
NewFloat creates a new Float.
NewInt32 creates a new Int32.
NewInt64 creates a new Int64.
NewString creates a new String.
NewTime creates a new Time.
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.

# Structs

Bool is a nullable bool.
Float is a nullable float64.
Int32 is a nullable int32.
Int64 is a nullable int64.
String is a nullable string.
Time is a zeroable time.Time.