Documentation ¶
Index ¶
- func Bool(in string) bool
- func Has(in interface{}, key string) bool
- func Join(in interface{}, sep string) string
- func MustAtoi(s string) int
- func MustParseFloat(s string, bitSize int) float64
- func MustParseInt(s string, base, bitSize int) int64
- func MustParseUint(s string, base, bitSize int) uint64
- func Slice(args ...interface{}) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
Bool converts a string to a boolean value, using strconv.ParseBool under the covers. Possible true values are: 1, t, T, TRUE, true, True All other values are considered false.
func Join ¶
Join concatenates the elements of a to create a single string. The separator string sep is placed between elements in the resulting string.
This is functionally identical to strings.Join, except that each element is coerced to a string first
func MustParseFloat ¶
MustParseFloat - wrapper for strconv.ParseFloat that returns 0 in the case of error
func MustParseInt ¶
MustParseInt - wrapper for strconv.ParseInt that returns 0 in the case of error
func MustParseUint ¶
MustParseUint - wrapper for strconv.ParseUint that returns 0 in the case of error
Types ¶
This section is empty.