package
2.16.0
Repository: https://github.com/tawesoft/golib.git
Documentation: pkg.go.dev

# Functions

FormatParts is a general purpose locale-aware way to format any quantity with a defined set of factors into a list of parts.
NewHumanizer initialises a human language number encoder/decoder for the given tag (representing a specific language or locale).

# Constants

FactorModeIdentity indicates that the given factor label represents the unit with no changes.
FactorModeInputCompat indicates that the given factor label should only be considered on input.
FactorModeReplace indicates the given factor label replaces the current unit e.g.
FactorModeUnitPrefix indicates the given factor label is a unit prefix e.g.

# Variables

No description provided by the author
No description provided by the author

# Structs

Factor defines one entry in an ordered list of Factors.
Factors describes a way to format a quantity with units.
Part describes some component of a formatting result e.g.
String holds an Utf8-encoded and an Ascii-compatible encoding of a string.

# Interfaces

Humanizer implements a locale-aware way to parse and format humanized quantities.

# Type aliases

FactorMode controls the formatting of a factor.
Unit describes some quantity e.g.