Documentation ¶ Index ¶ type NullInt32 func (n *NullInt32) Scan(value interface{}) error func (n NullInt32) Value() (driver.Value, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type NullInt32 ¶ type NullInt32 struct { Int32 int32 Valid bool // Valid is true if Int32 is not NULL } NullInt32 represents an int32 that may be null. NullInt32 implements the Scanner interface so it can be used as a scan destination, similar to NullString. func (*NullInt32) Scan ¶ func (n *NullInt32) Scan(value interface{}) error Scan implements the Scanner interface. func (NullInt32) Value ¶ func (n NullInt32) Value() (driver.Value, error) Value implements the driver Valuer interface. Source Files ¶ View all Source files convert.go sql.go Click to show internal directories. Click to hide internal directories.