internal

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YAMLTree

type YAMLTree struct {
	Root *yaml.Node
}

YAMLTree represents a YAML document. It makes it possible to insert value nodes with comments.

func NewYAMLTree

func NewYAMLTree() *YAMLTree

func (*YAMLTree) Insert

func (t *YAMLTree) Insert(path, value, comment string)

Insert adds a path with a value to the tree

Jump to

Keyboard shortcuts

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