yaml

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(s string, fromMarkdown bool) string

Clean tries to cleanup YAML that might be invalid, for example if coming out of a LLM. This is quite a hacky solution, and will only work for simple YAML.

func LoadTestFromYAML added in v0.4.36

func LoadTestFromYAML[T any](yaml_ string) (T, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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