dbutil

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanJSON

func ScanJSON(data interface{}, v any) error

Types

type NullString

type NullString string

func (*NullString) Scan

func (s *NullString) Scan(src interface{}) error

func (NullString) Value

func (s NullString) Value() (driver.Value, error)

type Time

type Time time.Time

func (Time) After

func (t Time) After(u Time) bool

func (Time) Equal

func (t Time) Equal(u Time) bool

func (Time) MarshalJSON

func (t Time) MarshalJSON() ([]byte, error)

func (*Time) Scan

func (t *Time) Scan(src interface{}) error

func (Time) String

func (t Time) String() string

func (Time) Time

func (t Time) Time() time.Time

func (*Time) UnmarshalJSON

func (t *Time) UnmarshalJSON(data []byte) error

func (Time) Value

func (t Time) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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