Optimize turns optimizations on or off.
(b bool)
| 129 | |
| 130 | // Optimize turns optimizations on or off. |
| 131 | func Optimize(b bool) Option { |
| 132 | return func(c *conf.Config) { |
| 133 | c.Optimize = b |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | // DisableShortCircuit turns short circuit off. |
| 138 | func DisableShortCircuit() Option { |
no outgoing calls
searching dependent graphs…