Documentation ¶
Index ¶
- func NullFloat64ToPtr(nullFloat64 sql.NullFloat64) *float64
- func NullInt64ToPtr(nullInt64 sql.NullInt64) *int
- func NullStrToPtr(nullStr sql.NullString) *string
- func NullTimeToPtr(nullTime mysql.NullTime) *time.Time
- func PtrToFloat64(float64p *float64) sql.NullFloat64
- func PtrToNullInt64(intp *int) sql.NullInt64
- func PtrToNullString(strp *string) sql.NullString
- func PtrToNullTime(timep *time.Time) mysql.NullTime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NullFloat64ToPtr ¶
func NullFloat64ToPtr(nullFloat64 sql.NullFloat64) *float64
func NullInt64ToPtr ¶
func NullStrToPtr ¶
func NullStrToPtr(nullStr sql.NullString) *string
func NullTimeToPtr ¶
TODO: replace with sql.NullTime when https://github.com/xo/xo/pull/239 merged nolint staticcheck
func PtrToFloat64 ¶
func PtrToFloat64(float64p *float64) sql.NullFloat64
func PtrToNullInt64 ¶
func PtrToNullString ¶
func PtrToNullString(strp *string) sql.NullString
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.