Documentation ¶
Index ¶
- func Bool(val bool) sql.NullBool
- func BoolVal(nullBool sql.NullBool) *bool
- func Byte(val byte) sql.NullByte
- func ByteVal(nullByte sql.NullByte) *byte
- func Float64(val float64) sql.NullFloat64
- func FloatVal(nullFloat sql.NullFloat64) *float64
- func Int16(val int16) sql.NullInt16
- func Int16Val(nullInt sql.NullInt16) *int16
- func Int32(val int32) sql.NullInt32
- func Int32Val(nullInt sql.NullInt32) *int32
- func Int64(val int64) sql.NullInt64
- func Int64Val(nullInt sql.NullInt64) *int64
- func NowTime() sql.NullTime
- func ScanBool(nullBool sql.NullBool) driver.Value
- func ScanByte(nullBool sql.NullByte) driver.Value
- func ScanFloat64(nullInt sql.NullFloat64) driver.Value
- func ScanInt16(nullInt sql.NullInt16) driver.Value
- func ScanInt32(nullInt sql.NullInt32) driver.Value
- func ScanInt64(nullInt sql.NullInt64) driver.Value
- func ScanString(nullString sql.NullString) driver.Value
- func ScanTime(nullTime sql.NullTime) driver.Value
- func String(val string) sql.NullString
- func StringVal(nullString sql.NullString) *string
- func Time(val time.Time) sql.NullTime
- func TimeVal(nullTime sql.NullTime) *time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64 ¶
func Float64(val float64) sql.NullFloat64
Float64 function will create a NullFloat64 object.
func FloatVal ¶ added in v1.2.0
func FloatVal(nullFloat sql.NullFloat64) *float64
FloatVal function will scan NullFloat64 value.
func ScanFloat64 ¶
func ScanFloat64(nullInt sql.NullFloat64) driver.Value
ScanFloat64 function will scan NullFloat64 value.
func ScanString ¶
func ScanString(nullString sql.NullString) driver.Value
ScanString function will scan NullString value.
func String ¶
func String(val string) sql.NullString
String function will create a NullString object.
func StringVal ¶ added in v1.2.0
func StringVal(nullString sql.NullString) *string
StringVal function will scan NullString value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.