SuggestionItem is a single entry in a suggestion list.
| 60 | |
| 61 | // SuggestionItem is a single entry in a suggestion list. |
| 62 | type SuggestionItem struct { |
| 63 | Value string |
| 64 | Display string |
| 65 | Reason string |
| 66 | IsSemantic bool |
| 67 | AlreadySelected bool |
| 68 | } |
| 69 | |
| 70 | func inferCategoryFromAttrs(productID string, attributeValues map[string]map[string][]string) string { |
| 71 | attrs, ok := attributeValues[productID] |
nothing calls this directly
no outgoing calls
no test coverage detected