gormkit

package
v0.0.0-...-fa384c1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecScanPlus

func ExecScanPlus(db *gorm.DB, sqlTpl string, params *Params) *gorm.DB

Types

type BitBool

type BitBool struct {
	Bool  bool
	Valid bool
}

func NewBitBool

func NewBitBool(bool bool) BitBool

func (BitBool) MarshalJSON

func (b BitBool) MarshalJSON() ([]byte, error)

func (*BitBool) Scan

func (b *BitBool) Scan(src interface{}) error

func (*BitBool) UnmarshalJSON

func (b *BitBool) UnmarshalJSON(data []byte) error

func (*BitBool) Value

func (b *BitBool) Value() (driver.Value, error)

type LocalTime

type LocalTime struct {
	time.Time
}

func (LocalTime) MarshalJSON

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

func (*LocalTime) Scan

func (t *LocalTime) Scan(v interface{}) error

func (LocalTime) Value

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

type Params

type Params map[string]interface{}

Jump to

Keyboard shortcuts

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