mapconv

package
v0.0.0-...-834861d Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type X

type X struct {
	Map         map[string]int
	Named       namedMap
	NoConv      map[string]int
	NoConvNamed map[string]int
}

func (*X) Func

func (x *X) Func() map[string]int

func (X) MarshalJSON

func (x X) MarshalJSON() ([]byte, error)

MarshalJSON marshals as JSON.

func (X) MarshalTOML

func (x X) MarshalTOML() (interface{}, error)

MarshalTOML marshals as TOML.

func (X) MarshalYAML

func (x X) MarshalYAML() (interface{}, error)

MarshalYAML marshals as YAML.

func (*X) UnmarshalJSON

func (x *X) UnmarshalJSON(input []byte) error

UnmarshalJSON unmarshals from JSON.

func (*X) UnmarshalTOML

func (x *X) UnmarshalTOML(unmarshal func(interface{}) error) error

UnmarshalTOML unmarshals from TOML.

func (*X) UnmarshalYAML

func (x *X) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML unmarshals from YAML.

type Xo

type Xo struct {
	Map         map[replacedString]replacedInt
	Named       namedMap2
	NoConvNamed namedMap

	Func map[replacedString]replacedInt
}

Jump to

Keyboard shortcuts

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