Itoa is equivalent to FormatInt(int64(i), 10).
package main import ( "fmt" "strconv" ) func main() { i := 10 s := strconv.Itoa(i) fmt.Printf("%T, %v\n", s, s) }