go字符串转换
摘要:
package main import ( "fmt" "strconv" ) /* 常用总结 1、str 转 int a, _ := strconv.Atoi("780") 2、int 转 str str = strconv.Itoa(8888) */ func main() { s := make([]byte, 0, 1024) ... 阅读全文
posted @ 2018-11-22 10:58 lpwlpw 阅读(1761) 评论(0) 推荐(0) 编辑