1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
Chris Cummer 3d4059de02 go mod vendor update
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-14 08:52:34 -08:00
..
2019-12-14 08:52:34 -08:00
2019-07-15 09:06:49 -07:00
2019-07-15 09:06:49 -07:00
2019-07-15 09:06:49 -07:00
2019-07-15 09:06:49 -07:00

bytefmt

Note: This repository should be imported as code.cloudfoundry.org/bytefmt.

Human-readable byte formatter.

Example:

bytefmt.ByteSize(100.5*bytefmt.MEGABYTE) // returns "100.5M"
bytefmt.ByteSize(uint64(1024)) // returns "1K"

For documentation, please see http://godoc.org/code.cloudfoundry.org/bytefmt