Help us shape the future of Go! Take the 2026 Go Developer Survey

yaml

package
v2.70.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 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 YAMLParser

type YAMLParser struct{}

YAMLParser parses YAML configuration files into protobuf messages.

func NewYAMLParser

func NewYAMLParser() *YAMLParser

NewYAMLParser creates a YAML parser. This is called by the config package to register the default YAML parser.

func (*YAMLParser) Extensions

func (p *YAMLParser) Extensions() []string

func (*YAMLParser) Unmarshal

func (p *YAMLParser) Unmarshal(data []byte, path string, msg proto.Message, strict bool) error

Jump to

Keyboard shortcuts

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