Please enable JavaScript.
Coggle requires JavaScript to display documents.
Go (Basic types (int, uint, uintptr (x86: 32 bits, x64: 64 bits), string,…
Go
Basic types
string
int int8 int16 int32 int64
uint uint8 uint16 uint32 uint64 uintptr
rune // alias for int32, represents a Unicode code point
float32 float64
complex64 complex128
byte // alias for uint8
bool
int, uint, uintptr
x86: 32 bits
x64: 64 bits
Should use int unless have a specific reason
Adv
concurrency
goroutines
channels
cross platform
backed by Google
garbage collector
fast
Disadv
lack of 3rd libs
syntax
no generic
not many jobs
for loop
no parentheses ()
braces { } required
if
no parentheses ()
braces { } required