Lesson 4 of 60
GoPrimitive Types & Constants
15 minutes
Course progress7%
Primitive Types & Constants
Go has a small set of fundamental types, which makes the language easier to learn and reason about.
Primitive types
| Type | Description |
|---|---|
bool | true/false |
string | immutable UTF-8 text |
int, int8, , , |