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,12 @@
# 05 — Interfejsy i Kompozycja („OOP po Go-owemu”)
W Go **nie ma dziedziczenia klas** — jest **embedding** (kompozycja struktur) oraz **niejawne interfejsy** (typ spełnia interfejs automatycznie, jeśli ma wymagane metody).
## Zadania (`interfaces.go`)
1. `EmailNotifier` i `SmsNotifier` spełniające interfejs `Notifier`.
2. `AlertService.Broadcast(msg string) []string` — wywołuje `Format(msg)` dla każdego notifiera.
## Uruchomienie testów
```bash
make test PKG=./exercises/01-core/05-interfaces-composition
```