Re: [go-nuts] From interface to []rune

2021-12-08 Thread Marcin Romaszewicz
No, you can't. A string is not a []rune, but it can be type converted to one, so you have to type convert your interface to string, then convert to runes. https://play.golang.com/p/GKITxGGYHZI On Wed, Dec 8, 2021 at 5:44 AM Денис Мухортов wrote: > Can i get data from interface to []rune like th

[go-nuts] From interface to []rune

2021-12-08 Thread Денис Мухортов
Can i get data from interface to []rune like that: https://play.golang.com/p/XpXTeUgL-Tn If so, how?? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+