Cleanup: better receiver name

No need for this to be uppercase.
This commit is contained in:
Stefan Haller committed 2025-08-01 10:35:16 +02:00
1 parent 98801da106
commit d0438b7d33
1 file changed
+2 -2
+2 -2
View File
@@ -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