ToTransactionalGatherer transforms Gatherer to transactional one with noop as done function.
(g Gatherer)
| 1062 | |
| 1063 | // ToTransactionalGatherer transforms Gatherer to transactional one with noop as done function. |
| 1064 | func ToTransactionalGatherer(g Gatherer) TransactionalGatherer { |
| 1065 | return &noTransactionGatherer{g: g} |
| 1066 | } |
| 1067 | |
| 1068 | type noTransactionGatherer struct { |
| 1069 | g Gatherer |
no outgoing calls