my-emacs-d/elpa/yasnippet-20160924.2001/snippets/go-mode/benchmark
2016-10-20 10:27:10 +02:00

11 lines
155 B
Plaintext

# -*- mode: snippet -*-
# name: benchmark
# key: bench
# contributor : @atotto
# --
func Benchmark$1(b *testing.B) {
for i := 0; i < b.N; i++ {
$0
}
}