types

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 5 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
}

func (*NullBool) MarshalJSON

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

MarshalJSON for NullBool

func (*NullBool) UnmarshalJSON

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

UnmarshalJSON for NullBool

type NullFloat64

type NullFloat64 struct {
	sql.NullFloat64
}

func (*NullFloat64) MarshalJSON

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

MarshalJSON for NullFloat64

func (*NullFloat64) UnmarshalJSON

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

UnmarshalJSON for NullFloat64

type NullInt64

type NullInt64 struct {
	sql.NullInt64
}

func (*NullInt64) MarshalJSON

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

MarshalJSON for NullInt64

func (*NullInt64) UnmarshalJSON

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

UnmarshalJSON for NullInt64

type NullString

type NullString struct {
	sql.NullString
}

func (*NullString) MarshalJSON

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

MarshalJSON for NullString

func (*NullString) UnmarshalJSON

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

UnmarshalJSON for NullString

type NullTime

type NullTime struct {
	sql.NullTime
}

func (*NullTime) MarshalJSON

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

MarshalJSON for NullTime

func (*NullTime) UnmarshalJSON

func (ns *NullTime) UnmarshalJSON(b []byte) error

UnmarshalJSON for NullTime

type NullUuid

type NullUuid struct {
	UUID  uuid.UUID
	Valid bool
}

func (*NullUuid) MarshalJSON

func (nu *NullUuid) MarshalJSON() ([]byte, error)

MarshalJSON for NullUuid

func (*NullUuid) Scan

func (nu *NullUuid) Scan(value interface{}) error

func (*NullUuid) UnmarshalJSON

func (nu *NullUuid) UnmarshalJSON(b []byte) error

UnmarshalJSON for NullUuid

Jump to

Keyboard shortcuts

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