NewFunction creates a new dyncfg Function wrapper.
(fn functions.Function)
| 19 | |
| 20 | // NewFunction creates a new dyncfg Function wrapper. |
| 21 | func NewFunction(fn functions.Function) Function { |
| 22 | return Function{fn: fn} |
| 23 | } |
| 24 | |
| 25 | // Fn returns the underlying functions.Function. |
| 26 | // Use this when passing to APIs that expect functions.Function. |
no outgoing calls
searching dependent graphs…