SetExplanation sets the explanation expression for the match.
(e ValueString)
| 367 | |
| 368 | // SetExplanation sets the explanation expression for the match. |
| 369 | func (m *Match) SetExplanation(e ValueString) { |
| 370 | m.explanation = &e |
| 371 | } |
| 372 | |
| 373 | // SetRule sets the rule for the match. |
| 374 | func (m *Match) SetRule(r *Rule) { |