Versions in this module Expand all Collapse all v0 v0.8.0 Dec 4, 2024 Changes in this version + type Humanize struct + func (Humanize) BigBytes(s *big.Int) string + func (Humanize) BigComma(b *big.Int) string + func (Humanize) BigCommaf(v *big.Float) string + func (Humanize) BigIBytes(s *big.Int) string + func (Humanize) Bytes(v uint64) string + func (Humanize) Comma(v int64) string + func (Humanize) Commaf(v float64) string + func (Humanize) CommafWithDigits(f float64, decimals int) string + func (Humanize) ComputeSI(input float64) (float64, string) + func (Humanize) CustomRelTime(a time.Time, b time.Time, albl string, blbl string, ...) string + func (Humanize) FormatFloat(format string, n float64) string + func (Humanize) FormatInteger(format string, n int) string + func (Humanize) Ftoa(num float64) string + func (Humanize) FtoaWithDigits(num float64, digits int) string + func (Humanize) IBytes(v uint64) string + func (Humanize) Ordinal(x int) string + func (Humanize) ParseBigBytes(s string) (*big.Int, error) + func (Humanize) ParseBytes(s string) (uint64, error) + func (Humanize) RelTime(a time.Time, b time.Time, albl string, blbl string) string + func (Humanize) SI(input float64, unit string) string + func (Humanize) Time(then time.Time) string