common

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EqFilter

type EqFilter[T comparable] struct {
}

func NewEqFilter

func NewEqFilter[T comparable]() EqFilter[T]

func (EqFilter[T]) GetKey

func (b EqFilter[T]) GetKey() string

func (EqFilter[T]) Match

func (b EqFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (EqFilter[T]) Valid

func (b EqFilter[T]) Valid(element types.JsonElement) errors.FilterError

type NeFilter

type NeFilter[T comparable] struct {
}

func NewNeFilter

func NewNeFilter[T comparable]() NeFilter[T]

func (NeFilter[T]) GetKey

func (b NeFilter[T]) GetKey() string

func (NeFilter[T]) Match

func (b NeFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (NeFilter[T]) Valid

func (b NeFilter[T]) Valid(element types.JsonElement) errors.FilterError

Jump to

Keyboard shortcuts

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