nullable

package
v0.0.0-...-aace954 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullableBool

type NullableBool struct {
	HasValue bool
	Value    bool
}

func (*NullableBool) GetPointerCopy

func (nb *NullableBool) GetPointerCopy() *bool

GetPointerCopy

func (*NullableBool) MarshalBSONValue

func (nb *NullableBool) MarshalBSONValue() (bsontype.Type, []byte, error)

func (*NullableBool) MarshalJSON

func (nb *NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Scan

func (nb *NullableBool) Scan(value interface{}) error

func (*NullableBool) Set

func (nb *NullableBool) Set(value bool)

func (*NullableBool) UnmarshalBSONValue

func (nb *NullableBool) UnmarshalBSONValue(btype bsontype.Type, data []byte) error

func (*NullableBool) UnmarshalJSON

func (nb *NullableBool) UnmarshalJSON(data []byte) error

func (*NullableBool) Unset

func (nb *NullableBool) Unset()

type NullableFloat32

type NullableFloat32 struct {
	HasValue bool
	Value    float32
}

func (*NullableFloat32) GetPointerCopy

func (nf *NullableFloat32) GetPointerCopy() *float32

GetPointerCopy

func (*NullableFloat32) MarshalBSONValue

func (nf *NullableFloat32) MarshalBSONValue() (bsontype.Type, []byte, error)

func (*NullableFloat32) MarshalJSON

func (nf *NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Scan

func (nf *NullableFloat32) Scan(value interface{}) error

func (*NullableFloat32) Set

func (nf *NullableFloat32) Set(value float32)

func (*NullableFloat32) UnmarshalBSONValue

func (nf *NullableFloat32) UnmarshalBSONValue(btype bsontype.Type, data []byte) error

func (*NullableFloat32) UnmarshalJSON

func (nf *NullableFloat32) UnmarshalJSON(data []byte) error

func (*NullableFloat32) Unset

func (nf *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	HasValue bool
	Value    float64
}

func (*NullableFloat64) GetPointerCopy

func (nf *NullableFloat64) GetPointerCopy() *float64

GetPointerCopy

func (*NullableFloat64) MarshalBSONValue

func (nf *NullableFloat64) MarshalBSONValue() (bsontype.Type, []byte, error)

func (*NullableFloat64) MarshalJSON

func (nf *NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Scan

func (nf *NullableFloat64) Scan(value interface{}) error

func (*NullableFloat64) Set

func (nf *NullableFloat64) Set(value float64)

func (*NullableFloat64) UnmarshalBSONValue

func (nf *NullableFloat64) UnmarshalBSONValue(btype bsontype.Type, data []byte) error

func (*NullableFloat64) UnmarshalJSON

func (nf *NullableFloat64) UnmarshalJSON(data []byte) error

func (*NullableFloat64) Unset

func (nf *NullableFloat64) Unset()

type NullableInt

type NullableInt struct {
	HasValue bool
	Value    int
}

func (*NullableInt) GetPointerCopy

func (ni *NullableInt) GetPointerCopy() *int

GetPointerCopy

func (*NullableInt) MarshalBSONValue

func (ni *NullableInt) MarshalBSONValue() (bsontype.Type, []byte, error)

func (*NullableInt) MarshalJSON

func (ni *NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Scan

func (ni *NullableInt) Scan(value interface{}) error

func (*NullableInt) Set

func (ni *NullableInt) Set(value int)

func (*NullableInt) UnmarshalBSONValue

func (ni *NullableInt) UnmarshalBSONValue(btype bsontype.Type, data []byte) error

func (*NullableInt) UnmarshalJSON

func (ni *NullableInt) UnmarshalJSON(data []byte) error

func (*NullableInt) Unset

func (ni *NullableInt) Unset()

type NullableString

type NullableString struct {
	HasValue bool
	Value    string
}

func (*NullableString) GetPointerCopy

func (ns *NullableString) GetPointerCopy() *string

GetPointerCopy

func (*NullableString) MarshalBSONValue

func (ns *NullableString) MarshalBSONValue() (bsontype.Type, []byte, error)

func (*NullableString) MarshalJSON

func (ns *NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Scan

func (ns *NullableString) Scan(value interface{}) error

func (*NullableString) Set

func (ns *NullableString) Set(value string)

func (*NullableString) UnmarshalBSONValue

func (ns *NullableString) UnmarshalBSONValue(btype bsontype.Type, data []byte) error

func (*NullableString) UnmarshalJSON

func (ns *NullableString) UnmarshalJSON(data []byte) error

func (*NullableString) Unset

func (ns *NullableString) Unset()

type NullableTime

type NullableTime struct {
	HasValue bool
	Value    time.Time
}

func (*NullableTime) GetPointerCopy

func (nt *NullableTime) GetPointerCopy() *time.Time

GetPointerCopy

func (*NullableTime) MarshalBSONValue

func (nt *NullableTime) MarshalBSONValue() (bsontype.Type, []byte, error)

func (*NullableTime) MarshalJSON

func (nt *NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Scan

func (nt *NullableTime) Scan(value interface{}) error

func (*NullableTime) Set

func (nt *NullableTime) Set(value time.Time)

func (*NullableTime) UnmarshalBSONValue

func (nt *NullableTime) UnmarshalBSONValue(btype bsontype.Type, data []byte) error

func (*NullableTime) UnmarshalJSON

func (nt *NullableTime) UnmarshalJSON(data []byte) error

func (*NullableTime) Unset

func (nt *NullableTime) Unset()

Jump to

Keyboard shortcuts

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