Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Atoi16 ¶
Atoi16 converts string to int16 in a safe way. You get error when the value is out of the 16-bit range.
This is a wrapper function of strconv.ParseInt.
func Atoi32 ¶
Atoi32 converts string to int32 in a safe way. You get error when the value is out of the 32-bit range.
This is a wrapper function of strconv.ParseInt.
func Atoi8 ¶
Atoi8 converts string to int8 in a safe way. You get error when the value is out of the 8-bit range.
This is a wrapper function of strconv.ParseInt.
func Int16 ¶
Int16 converts int to int16 in a safe way. You get error when the value is out of the 16-bit range.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.