che-operator/vendor/github.com/alecthomas/units
Anatolii Bazko a8c155409d
Make che-operator non blocking (#212)
* Make che-operator non-blocking

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-04-10 17:19:14 +03:00
..
COPYING Update vendor 2019-03-19 15:59:09 +02:00
README.md Make che-operator non blocking (#212) 2020-04-10 17:19:14 +03:00
bytes.go Update vendor 2019-03-19 15:59:09 +02:00
doc.go Update vendor 2019-03-19 15:59:09 +02:00
si.go Update vendor 2019-03-19 15:59:09 +02:00
util.go Update vendor 2019-03-19 15:59:09 +02:00

README.md

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