yaml

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 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