Documentation ¶
Index ¶
- Variables
- func ParseBoolSlice(s string) ([]bool, error)
- func ParseComplex128Slice(s string, base int) ([]complex128, error)
- func ParseComplex64Slice(s string, base int) ([]complex64, error)
- func ParseFloat32Slice(s string, base int) ([]float32, error)
- func ParseFloat64Slice(s string, base int) ([]float64, error)
- func ParseInt16Slice(s string, base int) ([]int16, error)
- func ParseInt32Slice(s string, base int) ([]int32, error)
- func ParseInt64Slice(s string, base int) ([]int64, error)
- func ParseInt8Slice(s string, base int) ([]int8, error)
- func ParseIntSlice(s string, base int) ([]int, error)
- func ParseUint16Slice(s string, base int) ([]uint16, error)
- func ParseUint32Slice(s string, base int) ([]uint32, error)
- func ParseUint64Slice(s string, base int) ([]uint64, error)
- func ParseUint8Slice(s string, base int) ([]uint8, error)
- func ParseUintSlice(s string, base int) ([]uint, error)
Constants ¶
This section is empty.
Variables ¶
var ( OpeningBracket string = "[" ClosingBracket string = "]" Delimiter string = "," )
var (
ErrInvalidSyntax error = errors.New("invalid slice syntax")
)
Functions ¶
func ParseBoolSlice ¶
ParseBoolSlice parses and returns the []bool slice represented by the string s.
func ParseComplex128Slice ¶
func ParseComplex128Slice(s string, base int) ([]complex128, error)
ParseComplex128Slice parses and returns the []complex128 slice represented by the string s.
func ParseComplex64Slice ¶
ParseComplex64Slice parses and returns the []complex64 slice represented by the string s.
func ParseFloat32Slice ¶
ParseFloat32Slice parses and returns the []float32 slice represented by the string s.
func ParseFloat64Slice ¶
ParseFloat64Slice parses and returns the []float64 slice represented by the string s.
func ParseInt16Slice ¶
ParseInt16Slice parses and returns the []int16 slice represented by the string s.
func ParseInt32Slice ¶
ParseInt32Slice parses and returns the []int32 slice represented by the string s.
func ParseInt64Slice ¶
ParseInt64Slice parses and returns the []int64 slice represented by the string s.
func ParseInt8Slice ¶
ParseInt8Slice parses and returns the []int8 slice represented by the string s.
func ParseIntSlice ¶
ParseIntSlice parses and returns the []int slice represented by the string s.
func ParseUint16Slice ¶
ParseUint16Slice parses and returns the []uint16 slice represented by the string s.
func ParseUint32Slice ¶
ParseUint32Slice parses and returns the []uint32 slice represented by the string s.
func ParseUint64Slice ¶
ParseUint64Slice parses and returns the []uint64 slice represented by the string s.
func ParseUint8Slice ¶
ParseUint8Slice parses and returns the []uint8 slice represented by the string s.
Types ¶
This section is empty.