Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SI ¶
SI formats a value to SI and other prefixes. Use like: formatBytes(123456789, 2, 1000, ”, ”, ”) Or: formatBytes(123456789, 3, 1024, 'bytes', 'b', ' ') s1 only used when value=0, s2 is short version, s3 is separator. Does not handle negative values currently. Uses just capital letter for capitalization, not IEC/JEDEC standards.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.