path

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package path provides functionality for walking through an object using a path in search of specific values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walk

func Walk(object any, path string, callback func(string) bool) bool

Walk traverses through the given object to find strings located by the given path. Each located string is passed to the given callback function. If the callback function ever returns true, then traversal stops immediately.

Types

This section is empty.

Jump to

Keyboard shortcuts

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