add benchmark bindings (,tbs and ,tba)

go supports running benchmarks much similar to running tests,
the new key bindings will run single or all benchmark
This commit is contained in:
Remco Verhoef 2020-02-09 10:58:49 +01:00
parent 01aadd8900
commit 7fe392d946
No known key found for this signature in database
GPG key ID: FB9262FA69FC5392
2 changed files with 19 additions and 2 deletions

View file

@ -55,8 +55,10 @@
"n" #'+go/test-nested
"g" #'go-gen-test-dwim
"G" #'go-gen-test-all
"e" #'go-gen-test-exported)))
"e" #'go-gen-test-exported)
(:prefix ("tb" . "bench")
"s" #'+go/bench-single
"a" #'+go/bench-all)))
(use-package! gorepl-mode
:commands gorepl-run-load-current-file)