clocktest

package
v0.0.0-...-2e41b90 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FixedSource

type FixedSource time.Time

FixedSource is a clock source that has its current time stopped and fixed at a specific time.

func (FixedSource) Now

func (s FixedSource) Now() time.Time

Now returns the fixed source's constant time.

Jump to

Keyboard shortcuts

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