package
0.0.0-20240603153513-85a4060560ea
Repository: https://github.com/adamcolton/luce.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
Contains creates a string Filter that returns true when passed a string that contains the given substr.
EQ returns a Filter that will check if a given value is equal to 'a'.
Func builds a filter for a function.
EQ returns a Filter that will check if a given value is greater than to 'a'.
GTE returns a Filter that will check if a given value is greater than or equal to 'a'.
No description provided by the author
TODO.
IsKind creates a Type filter that returns true when given a type that matches the specified kind.
IsType creates a filter using referenceType.
LT returns a Filter that will check if a given value is not less than to 'a'.
LTE returns a Filter that will check if a given value is less than or equal to 'a'.
MethodName takes a string filter and applies it to a Method name.
NEQ returns a Filter that will check if a given value is not equal to 'a'.
New is syntactic sugar to make filter declarations a bit cleaner.
No description provided by the author
NumIn checks the filter type's NumIn value against the given filter.
TODO.
NumOut checks the filter type's NumOut value against the given filter.
TODO.
TODO.
Prefix creates a string filter that returns true when passed a string with the given prefix.
Regex returns the MatchString method on regular expressions generated from re.
Suffix creates a string filter that returns true when passed a string with the given suffix.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Iter wraps an Iter and applies a Filter to it.
No description provided by the author
Type is a wrapper around Filter[reflect.Type] to provide helper logic for type filtering.

# Interfaces

Comparable are the types that support ==, != and >.

# Type aliases

Checker returns an error based on a single argument.
Compare should return 0 if a==0, -1 if a<b and 1 if a>b.
Filter represents logic to classify a type as passing or failing.
No description provided by the author
TypeChecker checks a value's type against a filter.