walk

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentValue

func CommentValue(line string) string

Types

type Visitor

type Visitor interface {
	VisitLeaf(*yaml.Node, *yaml.Node, []string) error
}

type Walker

type Walker struct {
	Visitor

	CurrentKey   *yaml.Node
	CurrentValue *yaml.Node

	Path []string

	Breakout bool
}

func (Walker) Walk

func (l Walker) Walk() error

Jump to

Keyboard shortcuts

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