BenchmarkerInterface is an interface to a Benchmarker. Its reason for existence is to wrap a benchmarker to strip it of its generic parameter, letting us pass it around without having to know the transaction type.
| 31 | // existence is to wrap a benchmarker to strip it of its generic parameter, |
| 32 | // letting us pass it around without having to know the transaction type. |
| 33 | type BenchmarkerInterface interface { |
| 34 | Run(ctx context.Context, duration time.Duration, numTotalJobs int) error |
| 35 | } |
| 36 | |
| 37 | // MigratorInterface is an interface to a Migrator. Its reason for existence is |
| 38 | // to wrap a migrator to strip it of its generic parameter, letting us pass it |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…