Files
.emacs.d/snippets/go-mode/bench

9 lines
201 B
Plaintext

# -*- mode: snippet -*-
# contributer: Yusuke Tsutsumi <tsutsumi.yusuke@gmail.com>
# name: bench
# key: bench
# description: add a benchmark method
# --
func Benchmark${1:Feature}(b *testing.B) {
$0
}