toml

package
v1.3.22 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "toml"

Name of the parser.

Variables

This section is empty.

Functions

This section is empty.

Types

type TOML

type TOML struct {
	*parser.Parser `validate:"required"`
}

TOML parser.

func New

func New() (*TOML, error)

New creates a new converter.

func (*TOML) Read

func (e *TOML) Read(ctx context.Context, r io.Reader) (map[string]any, error)

Read implementation of the Reader interface for TOML files.

Jump to

Keyboard shortcuts

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