yaml

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: Apache-2.0 Imports: 1 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(unmarshaller func([]byte, any) error)

EnableYAMLWithUnmarshal registers a YAML-capable unmarshaler.

This is not intended for concurrent use.

Most users would register using a init() function or enabling the registered library provided when importing "github.com/go-openapi/testify/enable/yaml/v2" like so.

  import(
			_ "github.com/go-openapi/testify/enable/yaml/v2"
  )

Types

This section is empty.

Jump to

Keyboard shortcuts

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