Add type snippet
Fix go struct snippet
Fix for MacOSX