Go Numerics
Go offers several numerics defined by their size and behavior.
Contents
Description
The integer types are:
signed integers: int8, int16, int32, int64, and int
unsigned integers: uint8, uint16, uint32, uint64, and uint
uintptr
There are also two floating point types defined by size: float32 and float64.
Lastly, there are two complex types defined by size: complex64 and complex128.
Note that byte is an alias to uint8, and rune is an alias to int32.