Skip to content

Why does RDtFlag have 3 fields? #100

@danqing

Description

@danqing

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions