Golang strconv包中常用的几个类型转换

转换funcParseBool//将字符串转换为布尔值strconv。bitSize:指定整数类型funcAtoi//将字符串转换为int类型funcFormatIntstring//FormatUint将int型整数i转换为字符串形式funcItoastring//返回数字i所