reflectfind

package
v0.0.0-...-5fe729b Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package reflectfind offers funcs to perform deep-search via reflect to find instances that satisfy given query.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(d interface{}, query func(i interface{}) bool) map[interface{}]struct{}

All finds all instances of i that satisfy query within d.

func First

func First(d interface{}, query func(i interface{}) bool) interface{}

First finds the first instances of i that satisfies query within d.

Types

This section is empty.

Jump to

Keyboard shortcuts

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