v2.0
- CHG: Removed the
context
parameter from theRule.Validate()
interface method. This is BC-breaking change. If your particular rule relies on the struct context, you may define it as a closure or pass the context during the rule creation.
context
parameter from the Rule.Validate()
interface method. This is BC-breaking change. If your particular rule relies on the struct context, you may define it as a closure or pass the context during the rule creation.