xmltypes

package
v0.0.0-...-0df88b9 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Yes = YesNoBool(true)
	No  = YesNoBool(false)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CommaSeparatedInts

type CommaSeparatedInts []int

func (CommaSeparatedInts) MarshalText

func (csi CommaSeparatedInts) MarshalText() ([]byte, error)

func (*CommaSeparatedInts) UnmarshalText

func (csi *CommaSeparatedInts) UnmarshalText(raw []byte) error

type CommaSeparatedStrings

type CommaSeparatedStrings []string

func (CommaSeparatedStrings) MarshalText

func (css CommaSeparatedStrings) MarshalText() ([]byte, error)

func (*CommaSeparatedStrings) UnmarshalText

func (css *CommaSeparatedStrings) UnmarshalText(raw []byte) error

type IntBool

type IntBool bool

IntBool is a bool that should be serialized as either "1" or "0".

func (IntBool) MarshalText

func (i IntBool) MarshalText() ([]byte, error)

func (*IntBool) UnmarshalText

func (i *IntBool) UnmarshalText(raw []byte) error

type YesNoBool

type YesNoBool bool

YesNoBool is a bool that should be serialized as either "yes" or "no".

func (YesNoBool) MarshalText

func (y YesNoBool) MarshalText() ([]byte, error)

func (*YesNoBool) UnmarshalText

func (y *YesNoBool) UnmarshalText(raw []byte) error

Jump to

Keyboard shortcuts

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