package
0.0.0-20210318211101-2bc12df73e84
Repository: https://github.com/puppetlabs/wash.git
Documentation: pkg.go.dev

# Functions

Bracket returns a new parser g that parses all numbers satifying the regex `{<number>}` where <number> is s.t.
BytesOf returns the number of bytes specified by the given size unit.
DurationOf returns the number of seconds specified by the given duration unit.
Negate returns a new parser g that negates any number parsed by p.
ParseDuration parses a duration value as an int64.
ParsePositiveInt parses a positive integer.
ParsePredicate parses a numeric predicate from str.
ParseSize parses a size value.

# Variables

DurationRegex describes a valid duration value.
SizeRegex describes a valid size value.

# Type aliases

Parser parses numeric values.
Predicate represents a Numeric predicate.