Documentation
¶
Overview ¶
Package clock is celeste's one process-wide clock that never repeats.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Now ¶
Now is time.Now that never repeats or goes back: a call that would return the previous time or earlier gets the previous time plus a microsecond. Windows' clock is coarse, so two time.Now calls a few microseconds apart can return the same value. The chat orders a turn's tool log against message timestamps (loop), and two sessions with one ID overwrite each other's file (config.UniqueNanoID); both read this clock. ponytail: one process-wide lock; per-caller clocks if it ever shows in a profile.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.