myaml

package
v0.0.0-...-94ee829 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFile

func ParseFile(c *modulir.Context, source string, v interface{}) error

ParseFile is a shortcut from parsing a source file as YAML.

func ParseFileFrontmatter

func ParseFileFrontmatter(c *modulir.Context, source string, v interface{}) ([]byte, error)

ParseFileFrontmatter is a shortcut from parsing a source file's frontmatter (i.e. data at the top between `---` lines) as YAML.

Types

This section is empty.

Jump to

Keyboard shortcuts

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