Documentation
¶
Overview ¶
Package units defines numeric unit constants shared across the application.
Index ¶
Constants ¶
View Source
const KiB = 1024
KiB is one kibibyte.
View Source
const MiB = 1024 * KiB
MiB is one mebibyte.
View Source
const PercentScale = 100
PercentScale is the multiplier used for whole-percent calculations.
View Source
const TokenMillion = 1_000_000
TokenMillion is one million tokens.
View Source
const TokenThousand = 1000
TokenThousand is one thousand tokens.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.