Help us shape the future of Go! Take the 2026 Go Developer Survey

yamlpath

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package yamlpath builds YAML paths ("$.nodes[1].request.id") in the syntax goccy/go-yaml's path lookup understands. The codec and the validator must agree on it, so it lives in one place.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(parent string, i int) string

Index appends a sequence index.

func Key

func Key(parent, key string) string

Key appends a mapping key. Keys made only of letters, digits, '_' and '-' are written bare; others are single-quoted with quotes escaped.

Types

This section is empty.

Jump to

Keyboard shortcuts

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