Documentation ¶
Index ¶
- type X
- func (x X) MarshalJSON() ([]byte, error)
- func (x X) MarshalTOML() (interface{}, error)
- func (x X) MarshalYAML() (interface{}, error)
- func (x *X) UnmarshalJSON(input []byte) error
- func (x *X) UnmarshalTOML(unmarshal func(interface{}) error) error
- func (x *X) UnmarshalYAML(unmarshal func(interface{}) error) error
- type Xo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type X ¶
type X struct {
Int int `json:",omitempty"`
}
func (*X) UnmarshalJSON ¶
UnmarshalJSON unmarshals from JSON.
func (*X) UnmarshalTOML ¶
UnmarshalTOML unmarshals from TOML.
func (*X) UnmarshalYAML ¶
UnmarshalYAML unmarshals from YAML.
Click to show internal directories.
Click to hide internal directories.