package
1.0.1
Repository: https://github.com/linuxboot/contest.git
Documentation: pkg.go.dev

# Functions

ParseExpression deserializes a string comparison expression (e.g.

# Constants

comparison operators.
comparison operators.
comparison operators.
comparison operators.
comparison operators.
List of possible comparison types.
List of possible comparison types.

# Variables

TypeNames maps a comparison.Type to its string form.

# Structs

Eq implements an "equal" comparator.
Expression is a struct that represents the deserialization of a string expression.
Ge implements a "greater or equal" comparator.
Gt implements a "greater than" comparator.
Le implements a "less or equal" comparator.
Lt implements a "less than" comparator.
Result wraps the result of a comparison, including the full expression that was evaluated.

# Interfaces

Comparator is an interface that all comparators must implement.

# Type aliases

Operator is the string representation of any of the supported comparison operators.
Type represents the type of comparison.