mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-24 08:36:43 +03:00
12 lines
316 B
Go
12 lines
316 B
Go
|
package driver
|
||
|
|
||
|
import (
|
||
|
"github.com/neilotoole/lg"
|
||
|
|
||
|
"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(log lg.Log, name string) (src *source.Source, cleanFn func() error, err error)
|