1、string转byte数组
s := "hello world" bs := []byte(s)
2、byte数组转string
data := []byte("hello world") s := string(data)
Go string转int64
Go string转bool
Go string转float64
Go float64转string
Go int64转string
Go bool转string
Go string转int
Go int转string