yaml

package module
v0.0.0-...-f7c55d0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Yaml

type Yaml struct{}

Yaml is a koanf.Parser for encoding/decoding yaml data.

func Parser

func Parser() *Yaml

Parser returns a koanf.Parser for YAML data

func (*Yaml) Marshal

func (y *Yaml) Marshal(m map[string]interface{}) ([]byte, error)

func (*Yaml) Unmarshal

func (y *Yaml) Unmarshal(bytes []byte) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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