Name returns the unique name of this function format validator.
()
| 278 | |
| 279 | // Name returns the unique name of this function format validator. |
| 280 | func (v formatValidator) Name() string { |
| 281 | return fmt.Sprintf("cel.validator.%s", v.funcName) |
| 282 | } |
| 283 | |
| 284 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name. |
| 285 | func (v formatValidator) ToConfig() *env.Validator { |