|
|
|
|
|
by hnlmorg
3183 days ago
|
|
For clarity (I know you know what a rune is but your description felt a little misleading imo): A rune is just an alias for int32. But it's context usually means unicode chars which are indeed multi-byte. You can still use byte arrays (or "slice" if you're writing idiomatic Go, but that's another tangent again) too though. Also "byte" in Go is another alias, but for int8. But that shouldn't come as a surprise to anyone :) |
|