package
0.0.0-20180607175117-61d31b1c31c3
Repository: https://github.com/apaxa-go/helper.git
Documentation: pkg.go.dev

# Functions

FormatBool returns "true" or "false" according to the value of b.
FormatComplex128 is a shortcut for FormatComplex128Prec with prec=-1.
FormatComplex128Prec returns the string representation of c in form of "(-1.2+3.4i)".
FormatComplex64 is a shortcut for FormatComplex64Prec with prec=-1.
FormatComplex64Prec returns the string representation of c in form of "(-1.2+3.4i)".
FormatFloat32 is a shortcut for FormatFloat32Prec with prec=-1.
FormatFloat32Prec returns the string representation of f in the 10-base.
FormatFloat64 is a shortcut for FormatFloat64Prec with prec=-1.
FormatFloat64Prec returns the string representation of f in the 10-base.
FormatInt returns the string representation of i in the 10-base.
FormatInt16 returns the string representation of i in the 10-base.
FormatInt32 returns the string representation of i in the 10-base.
FormatInt64 returns the string representation of i in the 10-base.
FormatInt8 returns the string representation of i in the 10-base.
FormatUint returns the string representation of i in the 10-base.
FormatUint16 returns the string representation of i in the 10-base.
FormatUint32 returns the string representation of i in the 10-base.
FormatUint64 returns the string representation of i in the 10-base.
FormatUint8 returns the string representation of i in the 10-base.
ParseBool returns the boolean value represented by the string.
ParseComplex128 converts the string s to a complex128.
ParseComplex64 converts the string s to a complex64.
ParseFloat32 interprets a string s in 10-base and returns the corresponding value f (float32) and error.
ParseFloat64 interprets a string s in 10-base and returns the corresponding value f (float64) and error.
ParseInt interprets a string s in 10-base and returns the corresponding value i (int) and error.
ParseInt16 interprets a string s in 10-base and returns the corresponding value i (int16) and error.
ParseInt32 interprets a string s in 10-base and returns the corresponding value i (int32) and error.
ParseInt64 interprets a string s in 10-base and returns the corresponding value i (int64) and error.
ParseInt8 interprets a string s in 10-base and returns the corresponding value i (int8) and error.
ParseUint interprets a string s in 10-base and returns the corresponding value i (uint) and error.
ParseUint16 interprets a string s in 10-base and returns the corresponding value i (uint16) and error.
ParseUint32 interprets a string s in 10-base and returns the corresponding value i (uint32) and error.
ParseUint64 interprets a string s in 10-base and returns the corresponding value i (uint64) and error.
ParseUint8 interprets a string s in 10-base and returns the corresponding value i (uint8) and error.