filter

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter[T any] struct {
	// contains filtered or unexported fields
}

func New

func New[T any]() *Filter[T]

func Parse

func Parse[T any](query string) (*Filter[T], error)

func ParseFromContext

func ParseFromContext[T any](c *gin.Context) (*Filter[T], error)

func (*Filter[T]) Apply

func (f *Filter[T]) Apply(items []T) []T

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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