route/vendor/github.com/alecthomas/units
Cadey Ratio 50c1deaa7d
change from vendor to dep
2017-10-06 08:29:20 -07:00
..
COPYING change from vendor to dep 2017-10-06 08:29:20 -07:00
README.md change from vendor to dep 2017-10-06 08:29:20 -07:00
bytes.go vendor dependencies 2017-04-28 21:19:30 -07:00
bytes_test.go change from vendor to dep 2017-10-06 08:29:20 -07:00
doc.go vendor dependencies 2017-04-28 21:19:30 -07:00
si.go vendor dependencies 2017-04-28 21:19:30 -07:00
util.go vendor dependencies 2017-04-28 21:19:30 -07: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