yaml

package
v2.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package yaml is an indirection to handle YAML deserialization.

This package allows the builder to override the indirection with an alternative implementation of YAML deserialization.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableYAMLWithUnmarshal

func EnableYAMLWithUnmarshal(unmarshaler func([]byte, any) error)

EnableYAMLWithUnmarshal registers a YAML-capable unmarshaler.

This is not intended for concurrent use.

func Unmarshal

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

Unmarshal is a wrapper to some exernal library to unmarshal YAML documents.

Types

This section is empty.

Jump to

Keyboard shortcuts

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