1
0
Fork 0
dotfiles/sublime/snippets/Go BenchmarkXXX.sublime-sni...

13 lines
234 B
XML

<snippet>
<tabTrigger>bench</tabTrigger>
<scope>source.go</scope>
<description>Benchmark</description>
<content><![CDATA[
func Benchmark${1}(b *testing.B) {
for i := 0; i < b.N; i++ {
${2}
}
}
]]></content>
</snippet>