1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-07-09 01:05:48 +02:00
Files
ferret/pkg/drivers/helpers.go

10 lines
176 B
Go
Raw Normal View History

package drivers
import (
"context"
)
func WithDefaultTimeout(ctx context.Context) (context.Context, context.CancelFunc) {
return context.WithTimeout(ctx, DefaultTimeout)
}