chore: initialize containerized Go learning workbook (2026 DevOps/SRE)
This commit is contained in:
commit
84be3e5d77
64 files changed
+1382
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# 04 — Obsługa Błędów (`errors.Is`, `errors.As`, `%w`)
|
||||
|
||||
## Zadania (`errors_ex.go`)
|
||||
1. `ParsePort(raw string) (int, error)` — zwróć `ErrInvalidPort` (opakowany przez `%w`) lub `ErrPortOutOfRange` dla wartości spoza `1..65535`.
|
||||
|
||||
## Uruchomienie testów
|
||||
```bash
|
||||
make test PKG=./exercises/01-core/04-errors-handling
|
||||
```
|
||||
Reference in new issue
Block a user