nullable

package
v3.0.0-beta10 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: Apache-2.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 Bool

type Bool struct {
	Valid bool
	Value bool
}

func (Bool) MarshalText

func (ni Bool) MarshalText() ([]byte, error)

func (Bool) String

func (ni Bool) String() string

func (*Bool) UnmarshalText

func (ni *Bool) UnmarshalText(b []byte) error

func (*Bool) UnmarshalXML

func (ni *Bool) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

UnmarshalXML unmarshals XML into NullableBool

type Int

type Int struct {
	Valid bool
	Value int
}

func (Int) MarshalText

func (ni Int) MarshalText() ([]byte, error)

func (Int) String

func (ni Int) String() string

func (*Int) UnmarshalText

func (ni *Int) UnmarshalText(b []byte) error

func (*Int) UnmarshalXML

func (ni *Int) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

UnmarshalXML unmarshals XML into NullableInt

Jump to

Keyboard shortcuts

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