filter

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Overview

Package filter Define data filter function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter interface {
	// Filter  Performs an operation with the provided .
	Filter(entity interface{}) bool

	// Matrixes ...
	Entities() interface{}
}

Filter An interface which use the values of the entity in a entities.

type UniqueArrayFilter

type UniqueArrayFilter struct {
	// contains filtered or unexported fields
}

UniqueArrayFilter A Filter that extracts a unique array.

func (*UniqueArrayFilter) Entities added in v1.0.2

func (u *UniqueArrayFilter) Entities() interface{}

Entities Returns the gathered Matrixes.

func (*UniqueArrayFilter) Filter

func (u *UniqueArrayFilter) Filter(entity interface{}) bool

Filter Performs an operation with the provided .

Jump to

Keyboard shortcuts

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