statping: github.com/hunterlong/statping/types/null Index | Files

package null

import "github.com/hunterlong/statping/types/null"

Index

Package Files

marshal.go types.go unmarshal.go

type NullBool Uses

type NullBool struct {
    sql.NullBool
}

NullBool is an alias for sql.NullBool data type

func NewNullBool Uses

func NewNullBool(s bool) NullBool

NewNullBool returns a sql.NullBool for JSON parsing

func (NullBool) MarshalJSON Uses

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

MarshalJSON for NullBool

func (NullBool) MarshalYAML Uses

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

MarshalYAML for NullBool

func (*NullBool) UnmarshalJSON Uses

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

Unmarshaler for NullBool

func (*NullBool) UnmarshalYAML Uses

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

UnmarshalYAML for NullBool

type NullFloat64 Uses

type NullFloat64 struct {
    sql.NullFloat64
}

NullFloat64 is an alias for sql.NullFloat64 data type

func NewNullFloat64 Uses

func NewNullFloat64(s float64) NullFloat64

NewNullFloat64 returns a sql.NullFloat64 for JSON parsing

func (NullFloat64) MarshalJSON Uses

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

MarshalJSON for NullFloat64

func (NullFloat64) MarshalYAML Uses

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

MarshalYAML for NullFloat64

func (*NullFloat64) UnmarshalJSON Uses

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

Unmarshaler for NullFloat64

func (*NullFloat64) UnmarshalYAML Uses

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

UnmarshalYAML for NullFloat64

type NullInt64 Uses

type NullInt64 struct {
    sql.NullInt64
}

NullInt64 is an alias for sql.NullInt64 data type

func NewNullInt64 Uses

func NewNullInt64(s int64) NullInt64

NewNullInt64 returns a sql.NullInt64 for JSON parsing

func (NullInt64) MarshalJSON Uses

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

MarshalJSON for NullInt64

func (NullInt64) MarshalYAML Uses

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

MarshalYAML for NullInt64

func (*NullInt64) UnmarshalJSON Uses

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

Unmarshaler for NullInt64

func (*NullInt64) UnmarshalYAML Uses

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

UnmarshalYAML for NullInt64

type NullString Uses

type NullString struct {
    sql.NullString
}

NullString is an alias for sql.NullString data type

func NewNullString Uses

func NewNullString(s string) NullString

NewNullString returns a sql.NullString for JSON parsing

func (NullString) MarshalJSON Uses

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

MarshalJSON for NullString

func (NullString) MarshalYAML Uses

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

MarshalYAML for NullString

func (*NullString) UnmarshalJSON Uses

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

Unmarshaler for NullString

func (*NullString) UnmarshalYAML Uses

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

UnmarshalYAML for NullFloat64

Package null imports 3 packages (graph). Updated 2020-05-30. Refresh now. Tools for package owners.