A Tour Of Go - My First Step To Golang
Basic Types
-
bool(true/false)
-
string
-
int int8 int16 int32 int64 / and uint equivalences, uintptr
-
byte(alias for uint8)
-
rune(alias for int32, represents a Unicode code point)
-
float32 float64
-
complex64 complex128
Operators
-
:=
is used to set a new variable without declaring it, like thisnew_var := 1
-
<<
is used to …