Types
Integers
When you are working with integer values, you should always use the int data type unless you have a good reason to use the sized or unsigned integer types.
int8: toint16: to - 1$int32: toint64: toint: Platform dependent (e.g. 64 bits wide on a 64-bit system)
https://www.callicoder.com/golang-basic-types-operators-type-conversion/
Children