This one-liner assigns a string to a slice of bytes: package main func main() { var s string //... b := []byte(s) //.
確定! 回上一頁