Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NullDuration ¶
NullDuration represents an interface that may be null. NullDuration implements the Scanner interface so it can be used as a scan destination, similar to sql.NullString.
func (*NullDuration) Scan ¶
func (nj *NullDuration) Scan(src interface{}) error
Scan implements the sql.Scanner interface.
type NullJson ¶
type NullJson struct { Data interface{} // must be set with a pointer to zero value of expect type Valid bool // Valid is true if Data is not NULL }
NullJson represents an interface that may be null. NullJson implements the Scanner interface so it can be used as a scan destination, similar to sql.NullString. Deprecate, use go-nulljson instead. For more information, see: https://godoc.org/github.com/searKing/golang/tools/cmd/go-nulljson
Click to show internal directories.
Click to hide internal directories.