advsql/func_types.go
Timon Ringwald d6e73f69c0 rewrite
2022-07-05 12:38:39 +02:00

9 lines
227 B
Go

package advsql
import "context"
type QueryManyFunc[T any] func(args ...interface{}) <-chan *T
type QueryManyContextFunc[T any] func(ctx context.Context, args ...interface{}) <-chan *T
type InsertFunc[T any] func(v *T) error