Documentation
¶
Index ¶
- func Bool(s string) (bool, error)
- func Float32(s string) (float32, error)
- func Float64(s string) (float64, error)
- func FromString(s string, targetType string) (any, error)
- func FromType(s string, targetType reflect.Type) (any, error)
- func Int(s string) (int, error)
- func Int8(s string) (int8, error)
- func Int16(s string) (int16, error)
- func Int32(s string) (int32, error)
- func Int64(s string) (int64, error)
- func Uint(s string) (uint, error)
- func Uint8(s string) (uint8, error)
- func Uint16(s string) (uint16, error)
- func Uint32(s string) (uint32, error)
- func Uint64(s string) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromString ¶
FromString casts a string value to the given type name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.