go-humanize
go-humanize copied to clipboard
RFE: Add unit-specific Byte/IByte
It would be nice to be able to:
- humanize byte counts according to a specified unit
- discern the unit that Bytes/IBytes uses
That way you could write 0.43 / 5.9 MiB rather than 440 KiB / 5.9 MiB.