go-mode: build and test tools
This commit is contained in:
parent
73a01409c2
commit
2e702b260e
2 changed files with 23 additions and 1 deletions
|
@ -5,10 +5,14 @@
|
|||
:interpreter "go"
|
||||
:init
|
||||
(add-hook! go-mode '(emr-initialize flycheck-mode))
|
||||
(build-for! go-mode "go build")
|
||||
:config
|
||||
(bind! :map go-mode-map
|
||||
:n "gd" 'godef-jump
|
||||
:n "gD" 'godef-describe)
|
||||
:n "gD" 'godef-describe
|
||||
:n "tr" 'narf:go-test-run-all
|
||||
:n "ta" 'narf:go-test-run-all
|
||||
:n "ts" 'narf:go-test-run-package)
|
||||
|
||||
(mapc (lambda (x)
|
||||
(let ((command-name (car x))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue