sqltype

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonNullInt32

type JsonNullInt32 struct {
	sql.NullInt32
}

func NewJsonNullInt32

func NewJsonNullInt32(s int32, v bool) JsonNullInt32

func (JsonNullInt32) MarshalJSON

func (v JsonNullInt32) MarshalJSON() ([]byte, error)

func (*JsonNullInt32) String

func (v *JsonNullInt32) String() string

func (*JsonNullInt32) UnmarshalJSON

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

type JsonNullInt64

type JsonNullInt64 struct {
	sql.NullInt64
}

func NewJsonNullInt64

func NewJsonNullInt64(s int64, err error) JsonNullInt64

func (JsonNullInt64) MarshalJSON

func (v JsonNullInt64) MarshalJSON() ([]byte, error)

func (*JsonNullInt64) String

func (v *JsonNullInt64) String() string

func (*JsonNullInt64) UnmarshalJSON

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

type JsonNullString

type JsonNullString struct {
	sql.NullString
}

func NewJsonNullString

func NewJsonNullString(s string) JsonNullString

func (*JsonNullString) MarshalJSON

func (v *JsonNullString) MarshalJSON() ([]byte, error)

func (JsonNullString) UnmarshalJSON

func (v JsonNullString) UnmarshalJSON(data []byte) error

type JsonNullTime

type JsonNullTime struct {
	sql.NullTime
}

func NewJsonNullTime

func NewJsonNullTime(s time.Time) JsonNullTime

func (*JsonNullTime) MarshalJSON

func (v *JsonNullTime) MarshalJSON() ([]byte, error)

func (*JsonNullTime) String

func (v *JsonNullTime) String() string

func (JsonNullTime) UnmarshalJSON

func (v JsonNullTime) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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