statsd_exporter/vendor/github.com/alecthomas/units
Frank Davidson a455a8ad64 hopefully now linux
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:54 -04:00
..
bytes.go hopefully now linux 2020-04-08 15:29:54 -04:00
COPYING hopefully now linux 2020-04-08 15:29:54 -04:00
doc.go hopefully now linux 2020-04-08 15:29:54 -04:00
go.mod hopefully now linux 2020-04-08 15:29:54 -04:00
README.md hopefully now linux 2020-04-08 15:29:54 -04:00
si.go hopefully now linux 2020-04-08 15:29:54 -04:00
util.go hopefully now linux 2020-04-08 15:29:54 -04:00

Units - Helpful unit multipliers and functions for Go

The goal of this package is to have functionality similar to the time package.

It allows for code like this:

n, err := ParseBase2Bytes("1KB")
// n == 1024
n = units.Mebibyte * 512