string转成uint64:
argUint64, _ := strconv.ParseUint(*arg, 10, 64)
string转成int:
int, err := strconv.Atoi(string)
string转成int64:
int64, err := strconv.ParseInt(string, 10, 64)
int转成string:
string := strconv.Itoa(int)
int64转成string:
string := strconv.FormatInt(int64,10)
Float64转string
strconv.FormatFloat(f float64, fmt byte, prec, bitSize int) string
#int64转为字符串
string=strconv.FormatInt(time.Now().Unix(),10 )