toml

package
v0.0.0-...-737bdf4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: Apache-2.0 Imports: 5 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{}) (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