Versions in this module Expand all Collapse all v1 v1.1.0 Jun 10, 2021 v1.0.0 Jun 9, 2021 Changes in this version + func IsNumber(data string) (isNumber bool) + func Number(v float64, f string) string + func NumberGeneric(v float64) string + func String(v string, f string) string + func Value(v string, f string) string + type FmtType byte + const FmtTypeComma + const FmtTypeDate + const FmtTypeDecimal + const FmtTypeDigit + const FmtTypeDigitOpt + const FmtTypeDigitOptThousands + const FmtTypeDollar + const FmtTypeFraction + const FmtTypeLiteral + const FmtTypePercent + const FmtTypeText + const FmtTypeTime + const FmtTypeUnderscore + func (i FmtType) String() string + type Format struct + Exponent []Token + Fractional []Token + IsExponential bool + Whole []Token + func Parse(s string) []Format + func (f *Format) AddToken(t FmtType, l []byte) + type Lexer struct + func (l *Lexer) Lex(r io.Reader) + type Token struct + DateTime string + Literal byte + Type FmtType