Minor syntax and structural fixes, add gist sample for golang