-
https://medium.com/rungo : MUST READ
-
Structures in GO: https://medium.com/rungo/structures-in-go-76377cc106a2
-
Interfaces in GO: https://medium.com/rungo/interfaces-in-go-ab1601159b3a
-
git push origin feature2:remotefeature2
-
git log --oneline
-
git remote -v
-
git
-
Nil is a type of zero: It indicates the absence of something and almost every built-ins are safe: len,cap,range
-
"Make the zero value useful" : Rob Pike
-
var s []int // nil slice
-
var m map[string]int // nil map
-
l:= len(s) // length of nil slice is 0
- var s = make([]int,5)
- var m = make(map[string]interface{})