diff options
author | Daniel Milde <daniel@milde.cz> | 2021-05-22 15:58:06 +0200 |
---|---|---|
committer | Daniel Milde <daniel@milde.cz> | 2021-05-22 15:58:06 +0200 |
commit | 9a16bb2e72f80bdda44addd0057b7011e99f5b3a (patch) | |
tree | 3973667ae3ce0db268a1e1f314782bae24da1fdb /tui/format.go | |
parent | 29e298cccc3ea1d9ce7ad8876f1f187b2036146d (diff) |
fixed int sizev5.0.0
Diffstat (limited to 'tui/format.go')
-rw-r--r-- | tui/format.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tui/format.go b/tui/format.go index d2568a4..ec9e0e5 100644 --- a/tui/format.go +++ b/tui/format.go @@ -22,9 +22,6 @@ const ( K int = 1e3 M int = 1e6 G int = 1e9 - T int = 1e12 - P int = 1e15 - E int = 1e18 ) func (ui *UI) formatFileRow(item analyze.Item) string { @@ -113,12 +110,6 @@ func (ui *UI) formatCount(count int) string { color := "[-::]" switch { - case count >= E: - row += fmt.Sprintf("%.1f%sE", float64(count)/float64(E), color) - case count >= P: - row += fmt.Sprintf("%.1f%sP", float64(count)/float64(P), color) - case count >= T: - row += fmt.Sprintf("%.1f%sT", float64(count)/float64(T), color) case count >= G: row += fmt.Sprintf("%.1f%sG", float64(count)/float64(G), color) case count >= M: |