yaml

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Overview

Package yaml is just an indirection to handle YAML deserialization.

This package is just an indirection that allows the builder to override the indirection with an alternative implementation of this package that uses another implementation of YAML deserialization. This allows to not either not use YAML deserialization at all, or to use another implementation than gopkg.in/yaml.v3 (for example for license compatibility reasons, see [PR #1120]).

Index

Constants

This section is empty.

Variables

View Source
var EnableYAMLUnmarshal func([]byte, any) error

Functions

func Unmarshal

func Unmarshal(in []byte, out any) error

Unmarshal is just a wrapper of gopkg.in/yaml.v3.Unmarshal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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