Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNullInt32 ¶
NewNullInt32 returns a null if i == 0, otherwise it returns the int32 which was input.
func NewNullInt64 ¶
NewNullInt64 returns a null if i == 0, otherwise it returns the int64 which was input.
func NewNullString ¶
func NewNullString(s string) sql.NullString
NewNullString returns a null if s is empty, otherwise it returns the string which was input
func NewNullTime ¶
NewNullTime returns a null if t is the zero value for time.Time, otherwise it returns the time which was input
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.