Get returns the function with the given name.
(name string)
| 154 | |
| 155 | // Get returns the function with the given name. |
| 156 | func (fc FuncCollection) Get(name string) (FuncFn, bool) { |
| 157 | fn, ok := fc[name] |
| 158 | return fn, ok |
| 159 | } |
| 160 | |
| 161 | // Delete deletes the functions with the given names. |
| 162 | func (fc FuncCollection) Delete(names ...string) FuncCollection { |
no outgoing calls