Name returns the unique name of this function format validator.
()
| 250 | |
| 251 | // Name returns the unique name of this function format validator. |
| 252 | func (v formatValidator) Name() string { |
| 253 | return fmt.Sprintf("cel.validator.%s", v.funcName) |
| 254 | } |
| 255 | |
| 256 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name. |
| 257 | func (v formatValidator) ToConfig() *env.Validator { |