diff --git a/additional_snippets/go.snippets b/additional_snippets/go.snippets index 8268a5396..1d62bfb76 100644 --- a/additional_snippets/go.snippets +++ b/additional_snippets/go.snippets @@ -37,3 +37,27 @@ endsnippet snippet s string${1} endsnippet + +snippet fpl +fmt.Println("${1}") +endsnippet + +snippet fpf +fmt.Printf("${1}", ${2}) +endsnippet + +snippet err +if err != nil { + ${1} +} +endsnippet + +snippet /* +/* +${1} + + +*/ +endsnippet + +