I'm having trouble understanding the following:
type RDtFlag struct {
Value bool
Enabled bool
Disabled bool
}
Flag should just be a boolean, and if that's the case, why do we need Value, Enabled and Disabled? In particular, can it both be Enabled and Disabled, and if not, why do we need two?
I'm having trouble understanding the following:
Flag should just be a boolean, and if that's the case, why do we need Value, Enabled and Disabled? In particular, can it both be Enabled and Disabled, and if not, why do we need two?