Fix NaN ObjectSize

This commit is contained in:
Evgeniy Kulikov 2020-01-27 15:02:14 +03:00
parent 959fb58dba
commit 9366b51ace
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2
3 changed files with 9 additions and 4 deletions

View file

@ -39,8 +39,8 @@ type (
)
const (
// UnitsB starts enum for amount of bytes.
UnitsB int64 = 1 << (10 * iota)
// starts enum for amount of bytes.
_ int64 = 1 << (10 * iota)
// UnitsKB defines amount of bytes in one kilobyte.
UnitsKB