convert a number to string golang code example Example: golang convert int to string str := strconv.Itoa(12)