snippet main "func main()" func main() { ${0} } endsnippet snippet 'if err' "if err != nil {}" if err != nil { $1 } $0 endsnippet