The type rune
in Go is defined as
an alias for
int32
and is equivalent toint32
in all ways. It is used, by conv
I googled and found this
This has been asked several times. rune occupies 4 bytes and not just one because it is supposed to store unicode codepoints and not just ASCII characters. Like array indices, the datatype is signed so that you can easily detect overflows or other errors while doing arithmetic with those types.