dustin/go-humanize

Added `ComputeBytes` and `ComputeIBytes`

Opened this issue · 0 comments

I'd like to use go-humanize with testing.B to report some size.

testing.B.ReportMetrics takes a number and a suffix where such a function is already provided for SI with ComputeSI. So I added similar functions for Bytes and Bytes.

I've created a PR here adding this support: #88