Removed redundant checks and streamlined the switch-case structure. Added test cases for both HumanBytes and HumanBytes2 to cover a wide range of scenarios. |
||
|---|---|---|
| .. | ||
| byte_test.go | ||
| bytes.go | ||
| format.go | ||
| format_test.go | ||
| time.go | ||
| time_test.go | ||
Removed redundant checks and streamlined the switch-case structure. Added test cases for both HumanBytes and HumanBytes2 to cover a wide range of scenarios. |
||
|---|---|---|
| .. | ||
| byte_test.go | ||
| bytes.go | ||
| format.go | ||
| format_test.go | ||
| time.go | ||
| time_test.go | ||