node_exporter/vendor/github.com/alecthomas/units
Simon Pasquier cfc06075d1 Bump github.com/prometheus/common to v0.7.0
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-09-16 10:59:12 +02:00
..
bytes.go
COPYING
doc.go
go.mod Bump github.com/prometheus/common to v0.7.0 2019-09-16 10:59:12 +02:00
README.md
si.go
util.go

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