---------- IntVar ---------- IntVar is a registered environment variable that holds an integer value.
| 211 | |
| 212 | // IntVar is a registered environment variable that holds an integer value. |
| 213 | type IntVar struct { |
| 214 | v Var |
| 215 | defaultValue int |
| 216 | } |
| 217 | |
| 218 | // RegisterIntVar registers an integer environment variable and returns a typed accessor. |
| 219 | func RegisterIntVar(name string, defaultValue int, description string, component Component) IntVar { |
nothing calls this directly
no outgoing calls
no test coverage detected