mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-18 13:41:49 +03:00
e5db7990bc
* refactor: RunContext.Log is dead * Fiddling with options * Changed default max conns to zero (no limit) * Linting
12 lines
308 B
Go
12 lines
308 B
Go
package driver
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/neilotoole/sq/libsq/source"
|
|
)
|
|
|
|
// ScratchSrcFunc is a function that returns a scratch source.
|
|
// The caller is responsible for invoking cleanFn.
|
|
type ScratchSrcFunc func(ctx context.Context, name string) (src *source.Source, cleanFn func() error, err error)
|