time

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Base = &wrapper{}

Base is the base time wrapper.

Functions

This section is empty.

Types

type Time

type Time interface {
	After(d time.Duration) <-chan time.Time
	NewTicker(d time.Duration) *time.Ticker
}

Time is a simple wrapper over a subset of time package from the standard library. Very useful for testing (mocks).

Jump to

Keyboard shortcuts

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