Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ComputeBytes and ComputeIBytes #89

Open
popbones opened this issue Mar 10, 2020 · 0 comments
Open

Added ComputeBytes and ComputeIBytes #89

popbones opened this issue Mar 10, 2020 · 0 comments

Comments

@popbones
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant