chore: initialize containerized Go learning workbook (2026 DevOps/SRE)

This commit is contained in:
soda64 committed 2026-11-30 23:03:31 +01:00
commit 84be3e5d77
64 files changed
+1382

No files matched your search

@@ -0,0 +1,9 @@
# 02 — `context.Context` i Odporność (Retry + Anulowanie)
## Zadania (`resilience.go`)
1. `RetryWithContext(ctx context.Context, attempts int, delay time.Duration, fn func(context.Context) error) error` — ponawiaj `fn(ctx)` do `attempts` razy, czekając `delay` (z przerwaniem przez `ctx.Done()` w `select`).
## Uruchomienie testów
```bash
make test PKG=./exercises/02-engineering-2026/02-context-and-resilience
```