August 2019
Beginner to intermediate
798 pages
17h 2m
English
A rune is an int32 value, and therefore 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; however, it can also have alternative meanings, such as providing formatting information.
A rune literal is a character in single quotes. You may also consider a rune literal as a rune constant. Behind the scenes, a rune literal is associated with a Unicode code point.
Runes are going to be illustrated in runes.go, which is going to be presented in three parts. The first part of runes.go follows:
package main
import (
"fmt"
)
The second part ...
Read now
Unlock full access