You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: could use an interface so both types ([]string{} and RuleSet) can be used as a value inside a RuleSet. Don't forget about alternative syntax too!
Possible drawbacks
None.
The text was updated successfully, but these errors were encountered:
Proposal
Sometimes it could be handy to be able to use another rule set inside a larger rule set by using composition. Example:
Note: could use an interface so both types (
[]string{}
andRuleSet
) can be used as a value inside a RuleSet. Don't forget about alternative syntax too!Possible drawbacks
None
.The text was updated successfully, but these errors were encountered: