Documentation
¶
Overview ¶
Package faketime contains fake implementations of interfaces from package timeutil.
It is recommended to fill all methods that shouldn't be called with:
panic("not implemented")
in the body of the test, so that if the method is called the panic backtrace points to the method definition in the test. See the package example.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clock ¶
Clock is the timeutil.Clock implementation for tests.
type Schedule ¶
Schedule is the timeutil.Schedule implementation for tests.
Click to show internal directories.
Click to hide internal directories.