1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-23 22:24:51 +02:00

Modernize all codes

go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
This commit is contained in:
phanium
2025-11-12 09:19:27 +08:00
committed by Stefan Haller
parent a7126d5456
commit d88f95275f
20 changed files with 38 additions and 53 deletions

View File

@@ -5,7 +5,7 @@ import (
"github.com/jesseduffield/lazygit/pkg/gui/style"
)
type Key interface{} // FIXME: find out how to get `gocui.Key | rune`
type Key any // FIXME: find out how to get `gocui.Key | rune`
// Binding - a keybinding mapping a key and modifier to a handler. The keypress
// is only handled if the given view has focus, or handled globally if the view