Documentation
¶
Overview ¶
Package systemclock implements the ports.Clock interface using the real system clock. The sole responsibility of this adapter is to call time.Now() and normalize the result to UTC — all other time arithmetic happens in the domain or application layer.
Application and domain code MUST NOT call time.Now() directly; all current-time access is routed through the Clock port so that tests can substitute a deterministic FakeClock.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.