pattern

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyPattern = errors.New("empty pattern")
)

Functions

func MatchAllPatterns

func MatchAllPatterns(value string, patterns []string) (bool, error)

func MatchAnyPattern

func MatchAnyPattern(value string, patterns []string) (string, bool, error)

func PatternMatch

func PatternMatch(value, pattern string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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