June 2017
Beginner
1091 pages
22h 9m
English
Types give the user the ability to store values in mnemonic names. All programming languages have types related with numbers (to store integers, negative numbers, or floating point for example) with characters (to store a single character) with strings (to store complete words) and so on. Go language has the common types found in most programming languages:
bool keyword is for Boolean type which represents a True or False state.int is a signed integer type, so int type represents a number from -2147483648 to 2147483647 in 32 bits machinesbyte type represents a number from 0 to 255.float32 and float64 types are the set of all IEEE-754 64/-bit floating-point numbers respectively.Read now
Unlock full access