labstack / gommon

Common packages for Go
MIT License
536 stars 100 forks source link

Provide another format/parse for bytes #22

Closed ferhatelmas closed 1 year ago

ferhatelmas commented 6 years ago

Is it possible to support SI (power of 1000s, instead of 1024s) with a flag ?

690000 -> 673.83KB
690000 -> 690KB
vishr commented 6 years ago

Not with the current implementation. I am open for a PR.

aldas commented 1 year ago

closing, done with #45