loader

package
v0.0.0-...-6f3f7e0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterfaceToYaml

func InterfaceToYaml(payload interface{}) ([]byte, error)

func YamlNodeFromFile

func YamlNodeFromFile(path string) (*yaml.Node, error)

YamlNodeFromFile will load and parse a YAML or JSON file from the given path.

func YamlNodeFromInterfaceNoErr

func YamlNodeFromInterfaceNoErr(input interface{}) yaml.Node

func YamlNodeFromString

func YamlNodeFromString(input []byte) (*yaml.Node, error)

YamlNodeFromString will load and parse a YAML or JSON file from the given input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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