AddIncludedFunctions allow-lists one or more functions from the subset. Note, this option will override any excluded functions.
(funcs ...*Function)
| 681 | // |
| 682 | // Note, this option will override any excluded functions. |
| 683 | func (lib *LibrarySubset) AddIncludedFunctions(funcs ...*Function) *LibrarySubset { |
| 684 | lib.IncludeFunctions = append(lib.IncludeFunctions, funcs...) |
| 685 | return lib |
| 686 | } |
| 687 | |
| 688 | // AddExcludedFunctions deny-lists one or more functions from the subset. |
| 689 | func (lib *LibrarySubset) AddExcludedFunctions(funcs ...*Function) *LibrarySubset { |
no outgoing calls