mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-09 09:22:48 +03:00
Add simple comments to uncommented functions.
This commit is contained in:
@@ -21,6 +21,7 @@ func (b *Binding) GetDisplayStrings() []string {
|
||||
return []string{b.GetKey(), b.Description}
|
||||
}
|
||||
|
||||
// GetKey is a function
|
||||
func (b *Binding) GetKey() string {
|
||||
r, ok := b.Key.(rune)
|
||||
key := ""
|
||||
@@ -34,6 +35,7 @@ func (b *Binding) GetKey() string {
|
||||
return key
|
||||
}
|
||||
|
||||
// GetKeybindings is a function
|
||||
func (gui *Gui) GetKeybindings() []*Binding {
|
||||
bindings := []*Binding{
|
||||
{
|
||||
|
Reference in New Issue
Block a user