fathom/vendor/github.com/alecthomas/units
Danny 93b285c0a9 change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
..
COPYING change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
README.md change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
bytes.go change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
doc.go change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
si.go change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
util.go change project directory structure to clean-up root dir 2018-04-20 13:12:23 +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