Added switch snippets for go