walk

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Walker

type Walker struct {
	// contains filtered or unexported fields
}

func NewWalker

func NewWalker() *Walker

func (*Walker) DepthFirst

func (w *Walker) DepthFirst(root *spec.Schema, onNode func(node *spec.Schema) error) error

DepthFirst runs a mutating callback function on each node of a JSON schema graph. It will return the first error it encounters.

Jump to

Keyboard shortcuts

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