Add some Sublime snippets
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user