toml

package
v5.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	// If set, NaN, Inf, etc. are replaced by the set values
	NaN, PosInf, NegInf interface{}
}

func (*Decoder) Decode

func (d *Decoder) Decode(toml interface{}, keys []gotoml.Key) (normal interface{}, err error)

type Encoder

type Encoder struct {
	// If set, the set values will be converted to NaN, Inf, etc.
	NaN, PosInf, NegInf interface{}
}

func (*Encoder) Encode

func (e *Encoder) Encode(normal interface{}) (toml interface{}, err error)

Jump to

Keyboard shortcuts

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