null

package
v0.90.58 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullBool

type NullBool struct {
	sql.NullBool
}

NullBool is an alias for sql.NullBool data type

func NewNullBool

func NewNullBool(s bool) NullBool

NewNullBool returns a sql.NullBool for JSON parsing

func (NullBool) MarshalJSON

func (bb NullBool) MarshalJSON() ([]byte, error)

MarshalJSON for NullBool

func (NullBool) MarshalYAML added in v0.90.34

func (bb NullBool) MarshalYAML() (interface{}, error)

MarshalYAML for NullBool

func (*NullBool) UnmarshalJSON

func (bb *NullBool) UnmarshalJSON(b []byte) error

Unmarshaler for NullBool

func (*NullBool) UnmarshalYAML added in v0.90.34

func (bb *NullBool) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML for NullBool

type NullFloat64

type NullFloat64 struct {
	sql.NullFloat64
}

NullFloat64 is an alias for sql.NullFloat64 data type

func NewNullFloat64

func NewNullFloat64(s float64) NullFloat64

NewNullFloat64 returns a sql.NullFloat64 for JSON parsing

func (NullFloat64) MarshalJSON

func (f NullFloat64) MarshalJSON() ([]byte, error)

MarshalJSON for NullFloat64

func (NullFloat64) MarshalYAML added in v0.90.34

func (f NullFloat64) MarshalYAML() (interface{}, error)

MarshalYAML for NullFloat64

func (*NullFloat64) UnmarshalJSON

func (f *NullFloat64) UnmarshalJSON(b []byte) error

Unmarshaler for NullFloat64

func (*NullFloat64) UnmarshalYAML added in v0.90.34

func (f *NullFloat64) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML for NullFloat64

type NullInt64

type NullInt64 struct {
	sql.NullInt64
}

NullInt64 is an alias for sql.NullInt64 data type

func NewNullInt64

func NewNullInt64(s int64) NullInt64

NewNullInt64 returns a sql.NullInt64 for JSON parsing

func (NullInt64) MarshalJSON

func (i NullInt64) MarshalJSON() ([]byte, error)

MarshalJSON for NullInt64

func (NullInt64) MarshalYAML added in v0.90.34

func (i NullInt64) MarshalYAML() (interface{}, error)

MarshalYAML for NullInt64

func (*NullInt64) UnmarshalJSON

func (i *NullInt64) UnmarshalJSON(b []byte) error

Unmarshaler for NullInt64

func (*NullInt64) UnmarshalYAML added in v0.90.34

func (i *NullInt64) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML for NullInt64

type NullString

type NullString struct {
	sql.NullString
}

NullString is an alias for sql.NullString data type

func NewNullString

func NewNullString(s string) NullString

NewNullString returns a sql.NullString for JSON parsing

func (NullString) MarshalJSON

func (s NullString) MarshalJSON() ([]byte, error)

MarshalJSON for NullString

func (NullString) MarshalYAML added in v0.90.34

func (s NullString) MarshalYAML() (interface{}, error)

MarshalYAML for NullString

func (*NullString) UnmarshalJSON

func (s *NullString) UnmarshalJSON(b []byte) error

Unmarshaler for NullString

func (*NullString) UnmarshalYAML added in v0.90.34

func (s *NullString) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML for NullFloat64

Jump to

Keyboard shortcuts

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