shared

package
v0.0.0-...-64046f9 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTooManyAffectedRows = errors.New("too many affected rows")

Functions

func GetTx

func GetTx(ctx context.Context) *sql.Tx

func ToNullInt

func ToNullInt(v int) null.Int

func ToNullJSONB

func ToNullJSONB(v []byte) null.JSON

func ToNullString

func ToNullString(v string) null.String

func ToNullTime

func ToNullTime(v time.Time) null.Time

func WithTx

func WithTx(ctx context.Context, tx *sql.Tx) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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