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