Versions in this module Expand all Collapse all v0 v0.0.4 Nov 26, 2026 Changes in this version + func Bytes(n int64) string + func CompactSingleLine(s string, maxRunes int) string + func Duration(d time.Duration, opts ...DurationOption) string + func DurationMilis(ms int64, opts ...DurationOption) string + func FormatCostNano(nano int64, unpriced bool) string + func Rate(perSecond float64) string + func Tokens(tokens int) string + type DurationOption func(*durationConfig) + func Compact() DurationOption