Documentation ¶
Index ¶
- func B32Bytes(str string) (types.B32Bytes, error)
- func B64Bytes(str string) (types.B64Bytes, error)
- func Bool(str string) (bool, error)
- func Complex128(str string) (complex128, error)
- func Complex64(str string) (complex64, error)
- func Duration(str string) (time.Duration, error)
- func Float32(str string) (float32, error)
- func Float64(str string) (float64, error)
- func GetParser[P Parseable](take *P) func(string) (P, error)
- func HexByte(str string) (types.HexByte, error)
- func HexBytes(str string) (types.HexBytes, error)
- func Int(str string) (int, error)
- func Int16(str string) (int16, error)
- func Int32(str string) (int32, error)
- func Int64(str string) (int64, error)
- func Int8(str string) (int8, error)
- func Language(str string) (language.Tag, error)
- func Location(str string) (time.Location, error)
- func Must[P Parseable](parser func(string) (P, error)) func(string) P
- func MustParse[P Parseable](take *P, str string)
- func OctByte(str string) (types.OctByte, error)
- func Parse[P Parseable](take *P, str string) error
- func ParseArray[P Parseable](parser func(string) (P, error)) func(string) ([]P, error)
- func String(str string) (string, error)
- func Time(str string) (time.Time, error)
- func Uint(str string) (uint, error)
- func Uint16(str string) (uint16, error)
- func Uint32(str string) (uint32, error)
- func Uint64(str string) (uint64, error)
- func Uint8(str string) (uint8, error)
- type Parseable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complex128 ¶
func Complex128(str string) (complex128, error)
func ParseArray ¶
Types ¶
type Parseable ¶
type Parseable interface { int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64 | bool | string | complex64 | complex128 | time.Duration | time.Time | time.Location | language.Tag | []int | []int8 | []int16 | []int32 | []int64 | []uint | []uint8 | []uint16 | []uint32 | []uint64 | []float32 | []float64 | []bool | []string | []complex64 | []complex128 | []time.Duration | []time.Time | []time.Location | []language.Tag | types.HexByte | types.OctByte | types.HexBytes | types.B32Bytes | types.B64Bytes | []types.HexByte | []types.OctByte | []types.HexBytes | []types.B32Bytes | []types.B64Bytes }
Click to show internal directories.
Click to hide internal directories.