Add some Sublime snippets

This commit is contained in:
2017-10-05 13:25:41 +02:00
parent 8a1c230730
commit eb18b0bcb6
9 changed files with 92 additions and 0 deletions
@@ -0,0 +1,12 @@
<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>