node_exporter/vendor/github.com/alecthomas/units
Ben Kochie 1567cefdae
Bump all vendoring (#1612)
Update all vendoring to current releases.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-02-18 13:27:11 +01:00
..
bytes.go Bump all vendoring (#1612) 2020-02-18 13:27:11 +01:00
COPYING Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
doc.go Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
go.mod Bump all vendoring (#1612) 2020-02-18 13:27:11 +01:00
go.sum Bump all vendoring (#1612) 2020-02-18 13:27:11 +01:00
README.md Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
si.go Bump all vendoring (#1612) 2020-02-18 13:27:11 +01:00
util.go Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02: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