feat(go): add 'go generate ...' keybinds

Close: #8281
Co-authored-by: chloelee767 <chloelee767@users.noreply.github.com>
This commit is contained in:
Henrik Lissner
2025-03-30 16:56:05 -04:00
parent 7827d32cc6
commit a1ff0513aa
2 changed files with 43 additions and 0 deletions

View File

@@ -30,6 +30,10 @@
:desc "go run ." "r" (cmd! (compile "go run ."))
:desc "go build" "b" (cmd! (compile "go build"))
:desc "go clean" "c" (cmd! (compile "go clean")))
(:prefix ("g" . "generate")
"f" #'+go/generate-file
"d" #'+go/generate-dir
"a" #'+go/generate-all)
(:prefix ("t" . "test")
"t" #'+go/test-rerun
"a" #'+go/test-all