xyaml

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package xyaml contains utility functions for parsing YAML.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUnknownKeys added in v0.8.3

func CheckUnknownKeys(t any, node *yaml.Node) error

CheckUnknownKeys finds if the node has any extra keys which do not exist in t.

func UnmarshalStrict

func UnmarshalStrict[T any](data []byte, t T) error

UnmarshalStrict decodes YAML document validating that there are no extra fields found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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