Thank you for getting back to me, but I don't think you have answered my question.
I understand they are a rune and string respectively. But *why* would you use one over the other? Why does Go support being able to assign a codepoint using single quotes? Also, why do they take more than three bytes each? Thank you. On Wed, 6 Feb 2019 at 23:30, Wagner Riffel <wgrrif...@gmail.com> wrote: > '⌘' is of type rune (aka int32), "⌘" and `⌘` are of type string, both > takes more than 3 bytes. > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.