What is a rune?

后端 未结 7 1481
予麋鹿
予麋鹿 2020-12-12 09:15

What is a rune in Go?

I\'ve been googling but Golang only says in one line: rune is an alias for int32.

But h

7条回答
  •  猫巷女王i
    2020-12-12 10:04

    A rune is an int32 value, and therefore it is a Go type that is used for representing a Unicode code point. A Unicode code point or code position is a numerical value that is usually used for representing single Unicode characters;

提交回复
热议问题