KeyMatchCondition is a condition that checks if the key matches the value
(key string, value string)
| 49 | |
| 50 | // KeyMatchCondition is a condition that checks if the key matches the value |
| 51 | func KeyMatchCondition(key string, value string) CustomConditionSignature { |
| 52 | return func(param map[string]string) bool { |
| 53 | return param[key] == value |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | // NoValidation is a no-op validation function |
| 58 | func NoValidation(string) error { |