package
0.0.0-20241111063530-90bf0bb44386
Repository: https://github.com/cod3kid/golang.git
Documentation: pkg.go.dev
# README
3 When in Kraków (ASCII Encoding)
- A Rune in Go is a data type that stores codes that represent Unicode characters.
- The rune “ó” in "Kraków" is taking two bytes.
- To know the number of runes in a string, use utf8.RuneCountInString() from "unicode/utf8"
5 Raw Diet (Raw Strings)
- Raw strings are enclosed in backticks
- For example:
a/t/nb