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