Oracle returns the global oracle instance. TODO: Oracle should probably be located in worker package, instead of posting package now that we don't run inSnapshot anymore.
()
| 28 | // TODO: Oracle should probably be located in worker package, instead of posting |
| 29 | // package now that we don't run inSnapshot anymore. |
| 30 | func Oracle() *oracle { |
| 31 | return o |
| 32 | } |
| 33 | |
| 34 | func init() { |
| 35 | o = new(oracle) |
no outgoing calls