clock

package
v0.1.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package clock provides test-friendly wrappers around the standard library time utilities. It is located under `internal` because it is an implementation detail and should not be imported by external code.

Index

Constants

This section is empty.

Variables

View Source
var NowFunc = time.Now

NowFunc returns current time. Override in tests for determinism.

Functions

func Now

func Now() time.Time

Now is a thin wrapper around NowFunc.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL