package
0.0.0-20170614201249-0b81c023a722
Repository: https://github.com/activestate/go.git
Documentation: pkg.go.dev
# Functions
AppendBool appends "true" or "false", according to the value of b, to dst and returns the extended buffer.
AppendFloat appends the string form of the floating-point number f, as generated by FormatFloat, to dst and returns the extended buffer.
AppendInt appends the string form of the integer i, as generated by FormatInt, to dst and returns the extended buffer.
AppendQuote appends a double-quoted Go string literal representing s, as generated by Quote, to dst and returns the extended buffer.
AppendQuoteRune appends a single-quoted Go character literal representing the rune, as generated by QuoteRune, to dst and returns the extended buffer.
AppendQuoteRuneToASCII appends a single-quoted Go character literal representing the rune, as generated by QuoteRuneToASCII, to dst and returns the extended buffer.
AppendQuoteRuneToGraphic appends a single-quoted Go character literal representing the rune, as generated by QuoteRuneToGraphic, to dst and returns the extended buffer.
AppendQuoteToASCII appends a double-quoted Go string literal representing s, as generated by QuoteToASCII, to dst and returns the extended buffer.
AppendQuoteToGraphic appends a double-quoted Go string literal representing s, as generated by QuoteToGraphic, to dst and returns the extended buffer.
AppendUint appends the string form of the unsigned integer i, as generated by FormatUint, to dst and returns the extended buffer.
Atoi returns the result of ParseInt(s, 10, 0) converted to type int.
CanBackquote reports whether the string s can be represented unchanged as a single-line backquoted string without control characters other than tab.
FormatBool returns "true" or "false" according to the value of b.
FormatFloat converts the floating-point number f to a string, according to the format fmt and precision prec.
FormatInt returns the string representation of i in the given base, for 2 <= base <= 36.
FormatUint returns the string representation of i in the given base, for 2 <= base <= 36.
IsGraphic reports whether the rune is defined as a Graphic by Unicode.
IsPrint reports whether the rune is defined as printable by Go, with the same definition as unicode.IsPrint: letters, numbers, punctuation, symbols and ASCII space.
Itoa is shorthand for FormatInt(int64(i), 10).
ParseBool returns the boolean value represented by the string.
ParseFloat converts the string s to a floating-point number with the precision specified by bitSize: 32 for float32, or 64 for float64.
ParseInt interprets a string s in the given base (2 to 36) and returns the corresponding value i.
ParseUint is like ParseInt but for unsigned numbers.
Quote returns a double-quoted Go string literal representing s.
QuoteRune returns a single-quoted Go character literal representing the rune.
QuoteRuneToASCII returns a single-quoted Go character literal representing the rune.
QuoteRuneToGraphic returns a single-quoted Go character literal representing the rune.
QuoteToASCII returns a double-quoted Go string literal representing s.
QuoteToGraphic returns a double-quoted Go string literal representing s.
Unquote interprets s as a single-quoted, double-quoted, or backquoted Go string literal, returning the string value that s quotes.
UnquoteChar decodes the first character or byte in the escaped string or character literal represented by the string s.
# Constants
IntSize is the size in bits of an int or uint value.