package
0.0.0-20240827045243-13a6da0b124d
Repository: https://github.com/forhsd/postgresql-parser.git
Documentation: pkg.go.dev
# Functions
DataRate formats the passed byte count over duration as "x MiB/s".
IBytes is an int64 version of go-humanize's IBytes.
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.