database

package
v0.0.0-...-8c6f8b2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDataSource

func CreateDataSource(conf *config.DBConfig) (*sqlx.DB, error)

Types

type SlateNullInt64

type SlateNullInt64 sql.NullInt64

func (*SlateNullInt64) MarshalJSON

func (n *SlateNullInt64) MarshalJSON() ([]byte, error)

func (*SlateNullInt64) UnmarshalJSON

func (v *SlateNullInt64) UnmarshalJSON(data []byte) error

type SlateNullString

type SlateNullString sql.NullString

func (*SlateNullString) MarshalJSON

func (ns *SlateNullString) MarshalJSON() ([]byte, error)

func (*SlateNullString) Scan

func (ns *SlateNullString) Scan(value interface{}) error

func (*SlateNullString) Value

func (ns *SlateNullString) Value() (driver.Value, error)

type SlateNullTime

type SlateNullTime sql.NullTime

func (*SlateNullTime) MarshalJSON

func (nt *SlateNullTime) MarshalJSON() ([]byte, error)

func (*SlateNullTime) Scan

func (nt *SlateNullTime) Scan(value interface{}) error

Jump to

Keyboard shortcuts

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