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,10 @@
|
||||
# 03 — Struktury i Wskaźniki (Value vs Pointer Receivers)
|
||||
|
||||
## Zadania (`pointers.go`)
|
||||
1. `BankAccount` z prywatnym polem `balance int`, metodami `Deposit(amount int)`, `Withdraw(amount int) bool`, `Balance() int`.
|
||||
2. `IncrementAll(nums []int, delta int)` — zmodyfikuj elementy wycinka w miejscu.
|
||||
|
||||
## Uruchomienie testów
|
||||
```bash
|
||||
make test PKG=./exercises/01-core/03-structs-pointers
|
||||
```
|
||||
Reference in new issue
Block a user