Documentation
¶
Index ¶
- func ToBoolE(s string) (bool, error)
- func ToBoolSliceE(s []string) ([]bool, error)
- func ToByteSliceE(s string) ([]byte, error)
- func ToByteSliceSliceE(s []string) ([][]byte, error)
- func ToComplex128E(s string) (complex128, error)
- func ToComplex128SliceE(s []string) ([]complex128, error)
- func ToComplex64E(s string) (complex64, error)
- func ToComplex64SliceE(s []string) ([]complex64, error)
- func ToErrorE(s string) (error, error)
- func ToErrorSliceE(s []string) ([]error, error)
- func ToFloat32E(s string) (float32, error)
- func ToFloat32SliceE(s []string) ([]float32, error)
- func ToFloat64E(s string) (float64, error)
- func ToFloat64SliceE(s []string) ([]float64, error)
- func ToInt(s string) int
- func ToInt16E(s string) (int16, error)
- func ToInt16SliceE(s []string) ([]int16, error)
- func ToInt32E(s string) (int32, error)
- func ToInt32SliceE(s []string) ([]int32, error)
- func ToInt64E(s string) (int64, error)
- func ToInt64SliceE(s []string) ([]int64, error)
- func ToInt8E(s string) (int8, error)
- func ToInt8SliceE(s []string) ([]int8, error)
- func ToIntE(s string) (int, error)
- func ToIntSliceE(s []string) ([]int, error)
- func ToInterfaceSliceE(s []string) ([]interface{}, error)
- func ToRuneSliceE(s string) ([]rune, error)
- func ToRuneSliceSliceE(s []string) ([][]rune, error)
- func ToUint16E(s string) (uint16, error)
- func ToUint16SliceE(s []string) ([]uint16, error)
- func ToUint32E(s string) (uint32, error)
- func ToUint32SliceE(s []string) ([]uint32, error)
- func ToUint64E(s string) (uint64, error)
- func ToUint64SliceE(s []string) ([]uint64, error)
- func ToUint8E(s string) (uint8, error)
- func ToUint8SliceE(s []string) ([]uint8, error)
- func ToUintE(s string) (uint, error)
- func ToUintSliceE(s []string) ([]uint, error)
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToBoolSliceE ¶
func ToByteSliceE ¶ added in v0.9.8
func ToByteSliceSliceE ¶ added in v0.9.8
func ToComplex128E ¶ added in v0.9.8
func ToComplex128E(s string) (complex128, error)
func ToComplex128SliceE ¶ added in v0.9.8
func ToComplex128SliceE(s []string) ([]complex128, error)
func ToComplex64E ¶ added in v0.9.8
func ToComplex64SliceE ¶ added in v0.9.8
func ToErrorSliceE ¶ added in v0.9.8
Example ¶
got, _ := ToErrorSliceE([]string{"test1", "test2"}) fmt.Println(got)
Output: [test1 test2]
func ToFloat32E ¶
func ToFloat32SliceE ¶ added in v0.9.8
func ToFloat64E ¶
func ToFloat64SliceE ¶ added in v0.9.8
func ToInt16SliceE ¶ added in v0.9.8
func ToInt32SliceE ¶ added in v0.9.8
func ToInt64SliceE ¶ added in v0.9.8
func ToInt8SliceE ¶ added in v0.9.8
func ToIntSliceE ¶
func ToInterfaceSliceE ¶ added in v0.9.8
func ToRuneSliceE ¶ added in v0.9.8
func ToRuneSliceSliceE ¶ added in v0.9.8
func ToUint16SliceE ¶ added in v0.9.8
func ToUint32SliceE ¶ added in v0.9.8
func ToUint64SliceE ¶ added in v0.9.8
func ToUint8SliceE ¶ added in v0.9.8
func ToUintSliceE ¶ added in v0.9.8
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.