strconv golang string to in code example
Example 1: golang convert string to int
Int, err := strconv.Atoi("12345")
Example 2: golang convert int to string
str := strconv.Itoa(12)
Int, err := strconv.Atoi("12345")
str := strconv.Itoa(12)