feat: moved project from lab2

This commit is contained in:
TAskMAster339
2026-10-10 12:14:31 +03:00
parent 0ab3a341aa
commit a856733fe9
59 changed files with 5346 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
package repositories
import (
"context"
"time"
)
const queryTimeout = 5 * time.Second
func boundedQuery(ctx context.Context) (context.Context, context.CancelFunc) {
return context.WithTimeout(ctx, queryTimeout)
}