Documentation
¶
Index ¶
- func BoolToStr(b bool) string
- func FloatToStr[T constraints.Float](v T) string
- func IntToStr[T constraints.Signed](v T) string
- func StrToBool(s string) bool
- func StrToFloat[T constraints.Float](s string) T
- func StrToInt[T constraints.Signed](s string) T
- func StrToUint[T constraints.Unsigned](s string) T
- func UintToStr[T constraints.Unsigned](v T) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FloatToStr ¶
func FloatToStr[T constraints.Float](v T) string
FloatToStr returns the string representation of a float value.
func IntToStr ¶
func IntToStr[T constraints.Signed](v T) string
IntToStr returns the string representation of a signed integer.
func StrToFloat ¶
func StrToFloat[T constraints.Float](s string) T
StrToFloat parses a float value from a string.
func StrToInt ¶
func StrToInt[T constraints.Signed](s string) T
StrToInt parses a signed integer from a string.
func StrToUint ¶
func StrToUint[T constraints.Unsigned](s string) T
StrToUint parses an unsigned integer from a string.
func UintToStr ¶
func UintToStr[T constraints.Unsigned](v T) string
UintToStr returns the string representation of an unsigned integer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.