internal

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrKeyNotFound     = errors.New("key not found")
	ErrUnsupportedKind = errors.New("unsupported kind")
)

Functions

func DeepGet

func DeepGet(value reflect.Value, keyPath []string) (reflect.Value, error)

DeepGet is the (recursively defined) function to access a nested tree of structs. It supports accessing also maps (with string keys), arrays and slices.

Types

This section is empty.

Jump to

Keyboard shortcuts

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