Install yasnippet and vala-snippets packages
This commit is contained in:
10
elpa/yasnippet-20160924.2001/snippets/go-mode/benchmark
Normal file
10
elpa/yasnippet-20160924.2001/snippets/go-mode/benchmark
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: benchmark
|
||||
# key: bench
|
||||
# contributor : @atotto
|
||||
# --
|
||||
func Benchmark$1(b *testing.B) {
|
||||
for i := 0; i < b.N; i++ {
|
||||
$0
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user