diff options
| author | Paul Buetow (europa) <paul@buetow.org> | 2015-05-31 00:46:58 +0100 |
|---|---|---|
| committer | Paul Buetow (europa) <paul@buetow.org> | 2015-05-31 00:46:58 +0100 |
| commit | f459cec5e073de22019de4ae160d91cbaa926b63 (patch) | |
| tree | 381f7f5820ce8fff6fd7c7bfe086b5f8856c8d3f /utils | |
| parent | 18fa47922cdb0fa7da8e264ddd2807fbccb1db5b (diff) | |
initial flags
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/utils.go b/utils/utils.go index 65461f4..28532ab 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -36,7 +36,7 @@ func Human(x int) string { return fmt.Sprintf("%d%s", int(f), units[i]) } -func HumanMebi(x int) string { +func HumanBinary(x int) string { units := []string{"ki", "Mi", "Gi", "Ti", "Pi", "Ei", "Zi", "Yi"} f := float32(x) |
