Go has simple, well-defined types.
| Type | Description |
|---|---|
, , , , | Integers |
, , etc. | Unsigned integers |
, | Floating point |
| Type | Description |
|---|---|
| true/false |
| Text |
| Alias for uint8 |
| Alias for int32 (Unicode) |
i := 42
f := float64(i)
s := string(rune(65)) // "A"
Interactive Visualization