searcher

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

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find[T any](res *common.ReadResult, keys []Key, value T) map[string]any

Types

type Key

type Key struct {
	Type  Type
	At    string
	Index int // relevant if type is array
}

type Type

type Type string
const (
	Object  Type = "object"
	Array   Type = "array"
	String  Type = "string"
	Integer Type = "integer"
)

Jump to

Keyboard shortcuts

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