property

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigInteger

type BigInteger struct{}

func (BigInteger) ColumnType

func (t BigInteger) ColumnType() string

func (BigInteger) ConvertValue

func (t BigInteger) ConvertValue(v interface{}) (driver.Value, error)

type Boolean

type Boolean struct{}

func (Boolean) ColumnType

func (t Boolean) ColumnType() string

func (Boolean) ConvertValue

func (t Boolean) ConvertValue(v interface{}) (driver.Value, error)

type Date

type Date struct{}

func (Date) ColumnType

func (t Date) ColumnType() string

func (Date) ConvertValue

func (t Date) ConvertValue(v interface{}) (driver.Value, error)

type DateTime

type DateTime struct{}

func (DateTime) ColumnType

func (t DateTime) ColumnType() string

func (DateTime) ConvertValue

func (t DateTime) ConvertValue(v interface{}) (driver.Value, error)

type Decimal

type Decimal struct {
	Precision int
	Scale     int
}

func (Decimal) ColumnType

func (t Decimal) ColumnType() string

func (Decimal) ConvertValue

func (t Decimal) ConvertValue(v interface{}) (driver.Value, error)

type Double

type Double struct{}

func (Double) ColumnType

func (t Double) ColumnType() string

func (Double) ConvertValue

func (t Double) ConvertValue(v interface{}) (driver.Value, error)

type Float

type Float struct{}

func (Float) ColumnType

func (t Float) ColumnType() string

func (Float) ConvertValue

func (t Float) ConvertValue(v interface{}) (driver.Value, error)

type Integer

type Integer struct{}

func (Integer) ColumnType

func (t Integer) ColumnType() string

func (Integer) ConvertValue

func (t Integer) ConvertValue(v interface{}) (driver.Value, error)

type Json added in v1.0.2

type Json struct{}

func (Json) ColumnType added in v1.0.2

func (j Json) ColumnType() string

func (Json) ConvertValue added in v1.0.2

func (j Json) ConvertValue(v interface{}) (driver.Value, error)

type Name

type Name string

func (*Name) UnmarshalJSON

func (n *Name) UnmarshalJSON(b []byte) error

type String

type String struct{}

func (String) ColumnType

func (t String) ColumnType() string

func (String) ConvertValue

func (t String) ConvertValue(v interface{}) (driver.Value, error)

type Type

type Type struct {
	// contains filtered or unexported fields
}

func Must

func Must(t Type, err error) Type

func New

func New(s string) (Type, error)

func (*Type) UnmarshalText

func (t2 *Type) UnmarshalText(text []byte) error

type Types

type Types map[Name]Type

Jump to

Keyboard shortcuts

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