Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SystemClock = &systemClock{}
Functions ¶
Types ¶
type MockedClock ¶
type MockedClock struct {
// contains filtered or unexported fields
}
func (*MockedClock) Now ¶
func (c *MockedClock) Now() time.Time
func (*MockedClock) Set ¶
func (c *MockedClock) Set(currentTime int64)
Click to show internal directories.
Click to hide internal directories.