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