toml

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FormatTOML represents TOML format
	FormatTOML decoder.Format = "toml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TOMLDecoder

type TOMLDecoder struct{}

TOMLDecoder implements ConfDecoder for TOML format

func NewTOMLDecoder

func NewTOMLDecoder() *TOMLDecoder

NewTOMLDecoder creates a new TOML decoder

func (*TOMLDecoder) Unmarshal

func (d *TOMLDecoder) Unmarshal(data []byte, v any) error

Unmarshal decodes TOML data to target structure

Jump to

Keyboard shortcuts

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