摘要: package main import ( "fmt" "reflect" "strconv" "time" ) func main() { a := 15 // 整数转浮点数 b := float64(a) // go支持显示类型转换,以满足严格的类型要求 fmt.Println(b, refle 阅读全文
posted @ 2022-01-18 16:32 专职 阅读(1842) 评论(0) 推荐(0) 编辑