time

package
v0.111.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Now = time.Now
View Source
var Since = time.Since

Functions

This section is empty.

Types

type AlwaysIncreasingClock

type AlwaysIncreasingClock struct {
	clockwork.FakeClock
}

Clock where Now() always returns a greater value than the previous return value

func NewAlwaysIncreasingClock

func NewAlwaysIncreasingClock() AlwaysIncreasingClock

func (AlwaysIncreasingClock) Now

func (AlwaysIncreasingClock) Since

Jump to

Keyboard shortcuts

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