configField contains metadata for a single configuration field.
| 92 | |
| 93 | // configField contains metadata for a single configuration field. |
| 94 | type configField struct { |
| 95 | name string // JSON field name/key in variables |
| 96 | urlparam string // URL parameter name |
| 97 | saved bool // Is field saved in settings? |
| 98 | field reflect.StructField // Field in config |
| 99 | choices []string // Name Of variables in group |
| 100 | defaultValue string // Default value for this field. |
| 101 | } |
| 102 | |
| 103 | var ( |
| 104 | configFields []configField // Precomputed metadata per config field |
nothing calls this directly
no outgoing calls
no test coverage detected