package
Version:
v0.1.6
Opens a new window with list of versions in this module.
Published: May 9, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
B = 1024
KB = B * 1024
MB = KB * 1024
GB = KB * 1024
TB = GB * 1024
PB = TB * 1024
)
*
- 美化格式化 转 字符串 (值 单位)
- 2048B -> 2 K
Source Files
¶
Click to show internal directories.
Click to hide internal directories.