Built-in data types
String values:
string
Integer values:
int
int8
int16
int32
int64
uint
uint8
uint16
uint32
uint64
Floating-point values:
float32
float64
Boolean values:
bool
What is the difference between
int
anduint
?
Why would you use one over the other?
Operators
Boolean operators: ==
, !=
, <
, <=
, >
, >=
, &&
, ||
, !
Additional data types
We also have pointers.