sqlutil

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NullFloat64ToPtr

func NullFloat64ToPtr(nullFloat64 sql.NullFloat64) *float64

func NullInt64ToPtr

func NullInt64ToPtr(nullInt64 sql.NullInt64) *int

func NullStrToPtr

func NullStrToPtr(nullStr sql.NullString) *string

func NullTimeToPtr

func NullTimeToPtr(nullTime mysql.NullTime) *time.Time

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 PtrToNullInt64(intp *int) sql.NullInt64

func PtrToNullString

func PtrToNullString(strp *string) sql.NullString

func PtrToNullTime

func PtrToNullTime(timep *time.Time) mysql.NullTime

nolint staticcheck

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL