AddExcludedFunctions deny-lists one or more functions from the subset.
(funcs ...*Function)
| 685 | |
| 686 | // AddExcludedFunctions deny-lists one or more functions from the subset. |
| 687 | func (lib *LibrarySubset) AddExcludedFunctions(funcs ...*Function) *LibrarySubset { |
| 688 | lib.ExcludeFunctions = append(lib.ExcludeFunctions, funcs...) |
| 689 | return lib |
| 690 | } |
| 691 | |
| 692 | // NewValidator returns a named Validator instance. |
| 693 | func NewValidator(name string) *Validator { |
no outgoing calls