filter

package
v0.2.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFilterExist

func IsFilterExist(query string) (ok bool, filter string, err error)

Types

type Filter

type Filter interface {
	Match(string) bool
}

func FromQuery

func FromQuery(query string) (Filter, error)

type RegexFilter

type RegexFilter interface {
	// contains filtered or unexported methods
}

type TempExportFilter

type TempExportFilter struct{}

for just test build

func (TempExportFilter) Match

func (f TempExportFilter) Match(line string) bool

Jump to

Keyboard shortcuts

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