---------- BoolVar ---------- BoolVar is a registered environment variable that holds a boolean value.
| 163 | |
| 164 | // BoolVar is a registered environment variable that holds a boolean value. |
| 165 | type BoolVar struct { |
| 166 | v Var |
| 167 | defaultValue bool |
| 168 | } |
| 169 | |
| 170 | // RegisterBoolVar registers a boolean environment variable and returns a typed accessor. |
| 171 | func RegisterBoolVar(name string, defaultValue bool, description string, component Component) BoolVar { |
nothing calls this directly
no outgoing calls
no test coverage detected