Documentation ¶ Index ¶ func Now(ctx context.Context) time.Time Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Now ¶ func Now(ctx context.Context) time.Time Now returns an instance of time.Time. In record or off mode, the current time is returned. During test mode, time adjusted to testcase capture time is returned. Types ¶ This section is empty. Source Files ¶ View all Source files clock.go Click to show internal directories. Click to hide internal directories.