VictoriaMetrics/vendor/github.com/alecthomas/units
Dmytro Kozlov 002c028f22
vmctl: support of the remote read protocol (#3232)
vmctl: support of the remote read protocol

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2022-11-29 21:08:47 -08:00
..
bytes.go vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
COPYING vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
doc.go vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
README.md vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
si.go vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
util.go vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00

Go Reference

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