package mainvar lettersLower = []rune("abcdefghijklmnopqrstuvwxyz")var lettersUpper = []rune("ABCDEFGHIJKLMNOPQRSTUVWXYZ")func main() { x := append(lettersLower, lettersUpper)}为什么这不起作用?我怎样才能附加lettersLower和lettersUpper?prog.go:7: cannot use lettersUpper (type []rune) as type rune in appendhttps://play.golang.org/p/ovx_o2rKPC
1 回答
- 1 回答
- 0 关注
- 147 浏览
添加回答
举报
0/150
提交
取消