We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please answer these questions before submitting your issue. Thanks!
go version
go1.10.1 linux/amd64
yes
go env
Convert a slice of 5 runes to a string. https://play.golang.org/p/upYJo4tgf3b
Expected slice to convert to string.
cannot convert aslice (type [5]rune) to type string
The text was updated successfully, but these errors were encountered:
please use string(aslice[:]) instead.
string(aslice[:])
Sorry, something went wrong.
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go1.10.1 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go1.10.1 linux/amd64
What did you do?
Convert a slice of 5 runes to a string.
https://play.golang.org/p/upYJo4tgf3b
What did you expect to see?
Expected slice to convert to string.
What did you see instead?
cannot convert aslice (type [5]rune) to type string
The text was updated successfully, but these errors were encountered: