mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
Cleanup: better receiver name
No need for this to be uppercase.
This commit is contained in:
parent
98801da106
commit
d0438b7d33
|
|
@ -43,8 +43,8 @@ type Binding struct {
|
|||
GetDisabledReason func() *DisabledReason
|
||||
}
|
||||
|
||||
func (Binding *Binding) IsDisabled() bool {
|
||||
return Binding.GetDisabledReason != nil && Binding.GetDisabledReason() != nil
|
||||
func (b *Binding) IsDisabled() bool {
|
||||
return b.GetDisabledReason != nil && b.GetDisabledReason() != nil
|
||||
}
|
||||
|
||||
// A guard is a decorator which checks something before executing a handler
|
||||
|
|
|
|||
Loading…
Reference in a new issue