prometheus/vendor/github.com/alecthomas/units
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883)
* Update go.mod dependencies before release

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Add issue for showing query warnings in promtool

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Revert json-iterator back to 1.1.6

It produced errors when marshaling Point values with special float
values.

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Fix expected step values in promtool tests after client_golang update

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Update generated protobuf code after proto dep updates

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2019-08-14 11:00:39 +02:00
..
bytes.go vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
COPYING vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
doc.go vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
go.mod Update go.mod dependencies before release (#5883) 2019-08-14 11:00:39 +02:00
README.md vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
si.go vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
util.go vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +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