Name returns the unique name of this function format validator.
()
| 288 | |
| 289 | // Name returns the unique name of this function format validator. |
| 290 | func (v formatValidator) Name() string { |
| 291 | return fmt.Sprintf("cel.validator.%s", v.funcName) |
| 292 | } |
| 293 | |
| 294 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name. |
| 295 | func (v formatValidator) ToConfig() *env.Validator { |