package
0.15.0
Repository: https://github.com/go-faster/oteldb.git
Documentation: pkg.go.dev

# Functions

IsBytesRune returns true, if r is a non-digit rune that could be part of bytes.
IsDigit returns true, if r is an ASCII digit.
IsDurationRune returns true, if r is a non-digit rune that could be part of duration.
IsIdentRune returns true, if r is a valid character of Go identifier/Prometheus label.
IsIdentStartRune returns true, if r is a valid first character of Go identifier/Prometheus label.
IsLetter returns true, if r is an ASCII letter.
ParseDuration parses Prometheus or Go duration.
ScanComment reads runes until newline.
ScanDuration scans and parses duration from given scanner.
ScanUnit scans unit tokens like durations and bytes.

# Constants

Bytes is a [humanize.Bytes] value.
Duration is a Prometheus/Go duration.
Number is a plain Go number.

# Structs

Unit represents suffixed numeric token like duration.

# Type aliases

UnitType defines [Unit] type.