walk

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package walk allows walking over CUE values.

This package replicates Value.Walk in the cue package. There are several different internal uses of walk. This package is intended as a single implementation that on which all these implementations should converge. Once a satisfactory API has been established, it can be made public.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Value

func Value(v cue.Value, c *Config)

Types

type Config

type Config struct {
	Before func(f cue.Value) bool
	After  func(f cue.Value)
	Opts   []cue.Option
}

Jump to

Keyboard shortcuts

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