package
Version:
v0.0.0-...-5fe729b
Opens a new window with list of versions in this module.
Published: Jul 6, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package reflectfind offers funcs to perform deep-search via reflect to find instances that satisfy given query.
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(d interface{}, query func(i interface{}) bool) interface{}
First finds the first instances of i that satisfies query within d.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.