CommandBuilderState holds the structured query builder state.
| 32 | |
| 33 | // CommandBuilderState holds the structured query builder state. |
| 34 | type CommandBuilderState struct { |
| 35 | SelectedField int // 0=products, 1=regions, 2=attrs, 3=price |
| 36 | ProductTags []string |
| 37 | RegionTags []string |
| 38 | AttributeTags []string |
| 39 | PriceTags []string |
| 40 | SearchInput string |
| 41 | } |
| 42 | |
| 43 | func NewCommandBuilderState() CommandBuilderState { |
| 44 | return CommandBuilderState{} |
nothing calls this directly
no outgoing calls
no test coverage detected