Versions in this module Expand all Collapse all v0 v0.2.0 Jun 12, 2019 v0.1.0 Jun 11, 2019 Changes in this version + type FormatFunc func(x interface{}, opts ...Option) Formatter + func NewFormat(format FormatFunc, opts ...Option) FormatFunc + type Formatter struct + func Decimal(x interface{}, opts ...Option) Formatter + func Engineering(x interface{}, opts ...Option) Formatter + func PerMille(x interface{}, opts ...Option) Formatter + func Percent(x interface{}, opts ...Option) Formatter + func Scientific(x interface{}, opts ...Option) Formatter + func (f Formatter) Digits(buf []byte, tag language.Tag, scale int) number.Digits + func (f Formatter) Format(state format.State, verb rune) + type Option option + func FormatWidth(n int) Option + func IncrementString(decimal string) Option + func MaxFractionDigits(max int) Option + func MaxIntegerDigits(max int) Option + func MinFractionDigits(min int) Option + func MinIntegerDigits(min int) Option + func NoSeparator() Option + func Pad(r rune) Option + func PatternOverrides(patterns map[string]string) Option + func Precision(prec int) Option + func Scale(decimals int) Option