package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

Count formats a unitless integer value like a row count.
DataRate formats the passed byte count over duration as "x MiB/s".
Duration formats a duration in a user-friendly way.
IBytes is an int64 version of go-humanize's IBytes.
LongDuration formats a duration that is expected to be on the order of minutes / hours / days in a user-friendly way.
NewBytesValue creates a new pflag.Value bound to the specified int64 variable.
ParseBytes is an int64 version of go-humanize's ParseBytes.

# Structs

BytesValue is a struct that implements flag.Value and pflag.Value suitable to create command-line parameters that accept sizes specified using a format recognized by humanize.