Documentation ¶ Index ¶ Variables func AdjustTimeInLog(ctx context.Context, record slog.Record) (slog.Record, bool, error) func GenerateId() string func ToClockworkClock(clock clock.Clock) clockwork.Clock Constants ¶ This section is empty. Variables ¶ View Source var GlobalClock clock.Clock = realtimeClock{clock.New()} Functions ¶ func AdjustTimeInLog ¶ added in v2.3.0 func AdjustTimeInLog(ctx context.Context, record slog.Record) (slog.Record, bool, error) func GenerateId ¶ func GenerateId() string func ToClockworkClock ¶ added in v2.7.2 func ToClockworkClock(clock clock.Clock) clockwork.Clock Types ¶ This section is empty. Source Files ¶ View all Source files clock.goclockwork.go Click to show internal directories. Click to hide internal directories.