yamlloader

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 2 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 {
	// contains filtered or unexported fields
}

Decoder of YAML files for aconfig.

func New

func New() *Decoder

New YAML decoder for aconfig.

func (*Decoder) DecodeFile

func (d *Decoder) DecodeFile(filename string) (map[string]any, error)

DecodeFile implements aconfig.FileDecoder.

func (*Decoder) Format

func (d *Decoder) Format() string

Format of the decoder.

func (*Decoder) Init

func (d *Decoder) Init(fsys fs.FS)

DecodeFile implements aconfig.FileDecoder.

Jump to

Keyboard shortcuts

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