advsql/func_types.go

9 lines
227 B
Go
Raw Normal View History

2022-07-05 12:38:39 +02:00
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