yaml

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package yaml provides functions to work with YAML content

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractLeadingContentForYQ

func ExtractLeadingContentForYQ(input io.Reader) (io.Reader, string, error)

ExtractLeadingContentForYQ extracts the leading content (comment, frontmatter, ...) of a YAML file, for the YQ lib It is copied from the `processReadStream` func in the yq lib (because it's not public) It is a workaround for go-yaml to persist header content

Types

This section is empty.

Jump to

Keyboard shortcuts

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