Documentation ¶
Overview ¶
Package null provides some clean helpers for sql NULL value handling
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSON ¶
func JSON(j interface{}) types.NullJSONText
JSON safely convers or marshals to a sql.NullJSONText Failure to marshal results in an error object
func String ¶
func String(s interface{}) sql.NullString
String safely converts s to a sql.NullString
Types ¶
Click to show internal directories.
Click to hide internal directories.