Commit 3a4e193
router/realm: retype broker / dealer fields to Broker / Dealer interfaces
Replaces the concrete *broker / *dealer pointer fields on the realm
struct with the Broker / Dealer interface types extracted in the
previous commit. The newRealm() constructor signature changes to
accept the interfaces too, but the call sites still pass concrete
*broker / *dealer values — Go's structural typing handles the
implicit satisfaction.
Behavior-preserving: the only thing that changes is the static type
of two struct fields. Coverage unchanged (63.2%).
Step 2 of 3 in the Broker/Dealer interface extraction (gammazero#315).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5fe8057 commit 3a4e193
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments