Committer is the interface that wraps the Commit method.
| 46 | type ( |
| 47 | // Committer is the interface that wraps the Commit method. |
| 48 | Committer interface { |
| 49 | Commit(context.Context, *Tx) error |
| 50 | } |
| 51 | |
| 52 | // The CommitFunc type is an adapter to allow the use of ordinary |
| 53 | // function as a Committer. If f is a function with the appropriate |
no outgoing calls
no test coverage detected
searching dependent graphs…