Documentation
¶
Overview ¶
Package format provides shared constants for number and unit formatting.
Index ¶
Constants ¶
View Source
const ( // SIThreshold is the boundary between raw and abbreviated SI display (1000). SIThreshold = 1000 // SIThresholdM is the boundary between K and M display (1,000,000). SIThresholdM = 1_000_000 // IECUnit is the binary unit base for byte formatting (1024). IECUnit = 1024 // HashPrefixLen is the number of bytes used for truncated hex hashes. HashPrefixLen = 8 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.