Go语言编程快速入门:类型转换
P11 go10 - 类型转换
🕐
连接字符串
coundown = "aaa" + "bbb"类型转换
string(10) // "10"
// Integer to ASCII
strconv.Itoa
// 或者用 sprintf 来完成转换P11 go10 - 类型转换
coundown = "aaa" + "bbb"string(10) // "10"
// Integer to ASCII
strconv.Itoa
// 或者用 sprintf 来完成转换