Golang tricky code samples