Fix go functions
Add log.Printf and Println to go snippets with fixes
Merge pull request #171 from farslan/issue-171

Add and improve golang snippets