Documentation
¶
Index ¶
- type ConverterWithErrors
- func (cwe *ConverterWithErrors) Bool() (r bool, e error)
- func (cwe *ConverterWithErrors) Bytes() (r []byte, e error)
- func (cwe *ConverterWithErrors) Float32() (r float32, e error)
- func (cwe *ConverterWithErrors) Float64() (r float64, e error)
- func (cwe *ConverterWithErrors) Int() (r int, e error)
- func (cwe *ConverterWithErrors) Int16() (r int16, e error)
- func (cwe *ConverterWithErrors) Int32() (r int32, e error)
- func (cwe *ConverterWithErrors) Int64() (r int64, e error)
- func (cwe *ConverterWithErrors) Int8() (r int8, e error)
- func (cwe *ConverterWithErrors) String() (r string, e error)
- func (cwe *ConverterWithErrors) UInt() (r uint, e error)
- func (cwe *ConverterWithErrors) UInt16() (r uint16, e error)
- func (cwe *ConverterWithErrors) UInt32() (r uint32, e error)
- func (cwe *ConverterWithErrors) UInt64() (r uint64, e error)
- func (cwe *ConverterWithErrors) UInt8() (r uint8, e error)
- type ConverterWithoutErrors
- func (cwe *ConverterWithoutErrors) Bool() (r bool)
- func (cwe *ConverterWithoutErrors) Bytes() (r []byte)
- func (cwe *ConverterWithoutErrors) Float32() (r float32)
- func (cwe *ConverterWithoutErrors) Float64() (r float64)
- func (cwe *ConverterWithoutErrors) Int() (r int)
- func (cwe *ConverterWithoutErrors) Int16() (r int16)
- func (cwe *ConverterWithoutErrors) Int32() (r int32)
- func (cwe *ConverterWithoutErrors) Int64() (r int64)
- func (cwe *ConverterWithoutErrors) Int8() (r int8)
- func (cwe *ConverterWithoutErrors) String() (r string)
- func (cwe *ConverterWithoutErrors) UInt() (r uint)
- func (cwe *ConverterWithoutErrors) UInt16() (r uint16)
- func (cwe *ConverterWithoutErrors) UInt32() (r uint32)
- func (cwe *ConverterWithoutErrors) UInt64() (r uint64)
- func (cwe *ConverterWithoutErrors) UInt8() (r uint8)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConverterWithErrors ¶
type ConverterWithErrors struct {
// contains filtered or unexported fields
}
ConverterWithErrors struct
func StringWithError ¶
func StringWithError(input string) *ConverterWithErrors
StringWithError input to convert
func (*ConverterWithErrors) Bool ¶
func (cwe *ConverterWithErrors) Bool() (r bool, e error)
Bool from string
func (*ConverterWithErrors) Bytes ¶ added in v0.0.27
func (cwe *ConverterWithErrors) Bytes() (r []byte, e error)
func (*ConverterWithErrors) Float32 ¶
func (cwe *ConverterWithErrors) Float32() (r float32, e error)
Float32 from string
func (*ConverterWithErrors) Float64 ¶
func (cwe *ConverterWithErrors) Float64() (r float64, e error)
Float64 from string
func (*ConverterWithErrors) Int ¶
func (cwe *ConverterWithErrors) Int() (r int, e error)
Int from string
func (*ConverterWithErrors) Int16 ¶
func (cwe *ConverterWithErrors) Int16() (r int16, e error)
Int16 from string
func (*ConverterWithErrors) Int32 ¶
func (cwe *ConverterWithErrors) Int32() (r int32, e error)
Int32 from string
func (*ConverterWithErrors) Int64 ¶
func (cwe *ConverterWithErrors) Int64() (r int64, e error)
Int64 from string
func (*ConverterWithErrors) Int8 ¶
func (cwe *ConverterWithErrors) Int8() (r int8, e error)
Int8 from string
func (*ConverterWithErrors) String ¶ added in v0.0.27
func (cwe *ConverterWithErrors) String() (r string, e error)
func (*ConverterWithErrors) UInt ¶
func (cwe *ConverterWithErrors) UInt() (r uint, e error)
UInt from string
func (*ConverterWithErrors) UInt16 ¶
func (cwe *ConverterWithErrors) UInt16() (r uint16, e error)
UInt16 from string
func (*ConverterWithErrors) UInt32 ¶
func (cwe *ConverterWithErrors) UInt32() (r uint32, e error)
UInt32 from string
func (*ConverterWithErrors) UInt64 ¶
func (cwe *ConverterWithErrors) UInt64() (r uint64, e error)
UInt64 from string
func (*ConverterWithErrors) UInt8 ¶
func (cwe *ConverterWithErrors) UInt8() (r uint8, e error)
UInt8 from string
type ConverterWithoutErrors ¶
type ConverterWithoutErrors struct {
// contains filtered or unexported fields
}
ConverterWithoutErrors struct
func (*ConverterWithoutErrors) Bool ¶
func (cwe *ConverterWithoutErrors) Bool() (r bool)
Bool from string
func (*ConverterWithoutErrors) Bytes ¶ added in v0.0.27
func (cwe *ConverterWithoutErrors) Bytes() (r []byte)
func (*ConverterWithoutErrors) Float32 ¶
func (cwe *ConverterWithoutErrors) Float32() (r float32)
Float32 from string
func (*ConverterWithoutErrors) Float64 ¶
func (cwe *ConverterWithoutErrors) Float64() (r float64)
Float64 from string
func (*ConverterWithoutErrors) Int ¶
func (cwe *ConverterWithoutErrors) Int() (r int)
Int from string
func (*ConverterWithoutErrors) Int16 ¶
func (cwe *ConverterWithoutErrors) Int16() (r int16)
Int16 from string
func (*ConverterWithoutErrors) Int32 ¶
func (cwe *ConverterWithoutErrors) Int32() (r int32)
Int32 from string
func (*ConverterWithoutErrors) Int64 ¶
func (cwe *ConverterWithoutErrors) Int64() (r int64)
Int64 from string
func (*ConverterWithoutErrors) Int8 ¶
func (cwe *ConverterWithoutErrors) Int8() (r int8)
Int8 from string
func (*ConverterWithoutErrors) String ¶ added in v0.0.27
func (cwe *ConverterWithoutErrors) String() (r string)
func (*ConverterWithoutErrors) UInt ¶
func (cwe *ConverterWithoutErrors) UInt() (r uint)
UInt from string
func (*ConverterWithoutErrors) UInt16 ¶
func (cwe *ConverterWithoutErrors) UInt16() (r uint16)
UInt16 from string
func (*ConverterWithoutErrors) UInt32 ¶
func (cwe *ConverterWithoutErrors) UInt32() (r uint32)
UInt32 from string
func (*ConverterWithoutErrors) UInt64 ¶
func (cwe *ConverterWithoutErrors) UInt64() (r uint64)
UInt64 from string
func (*ConverterWithoutErrors) UInt8 ¶
func (cwe *ConverterWithoutErrors) UInt8() (r uint8)
UInt8 from string
Click to show internal directories.
Click to hide internal directories.