3
0
mirror of https://github.com/ergochat/ergo.git synced 2026-04-26 02:28:21 +02:00
Shivaram Lingamneni 772f5f5e5d upgrade bytefmt
2020-03-08 23:32:58 -04:00
..
2020-03-08 23:32:58 -04:00

bytefmt
=======

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

Human-readable byte formatter.

Example:

```go
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

## Reporting issues and requesting features

Please report all issues and feature requests in [cloudfoundry/diego-release](https://github.com/cloudfoundry/diego-release/issues).