We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb0a6fc commit 9548538Copy full SHA for 9548538
snippets/go.snippets
@@ -230,14 +230,12 @@ snippet ga
230
go func(${1} ${2:type}) {
231
${3:/* code */}
232
}(${0})
233
-# test function
234
-snippet test
+snippet test test function
235
func Test${1:name}(t *testing.T) {
236
${2}
237
}
238
${0}
239
-# benchmark function
240
-snippet bench
+snippet bench benchmark function
241
func Benchmark${1:name}(b *testing.B) {
242
for i := 0; i < b.N; i++ {
243
0 commit comments