diff --git a/snippets/go.snippets b/snippets/go.snippets index 9d51e33..86be140 100644 --- a/snippets/go.snippets +++ b/snippets/go.snippets @@ -231,13 +231,13 @@ snippet ga ${3:/* code */} }(${0}) # test function -snippet tst +snippet test func Test${1:name}(t *testing.T) { ${2} } ${0} # benchmark function -snippet bnch +snippet bench func Benchmark${1:name}(b *testing.B) { for i := 0; i < b.N; i++ { ${2}