diff options
| author | Paul Buetow (europa) <paul@buetow.org> | 2015-06-01 22:39:24 +0100 |
|---|---|---|
| committer | Paul Buetow (europa) <paul@buetow.org> | 2015-06-01 22:39:24 +0100 |
| commit | 699178f79506482cb319c84a033d7a45d50a76f9 (patch) | |
| tree | 76ae44edf62c3aa4086572cf39a456ea56db75b7 /utils | |
| parent | e905f478c9e35962b444ccb4fc6e02fc97304531 (diff) | |
Bug fixes
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/utils.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/utils.go b/utils/utils.go index 1e9ce71..f80e09a 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -24,7 +24,7 @@ func Abs(x int) int { } func Human(x int) string { - units := []string{"k", "M", "G", "T", "P", "E", "Z", "Y"} + units := []string{" ", "k", "M", "G", "T", "P", "E", "Z", "Y"} f := float32(x) i := 0 @@ -37,7 +37,7 @@ func Human(x int) string { } func HumanBinary(x int) string { - units := []string{"k", "M", "G", "T", "P", "E", "Z", "Y"} + units := []string{" ", "k", "M", "G", "T", "P", "E", "Z", "Y"} f := float32(x) i := 0 |
