Documentation
¶
Overview ¶
Package convert provides type conversion utilities. This package has no dependencies on other internal packages to avoid circular imports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToInt ¶
ToInt converts various types to int with a fallback value. Handles all integer, unsigned, float, and string types. Returns fallback for unsigned values above math.MaxInt.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.