clock

package
v0.0.0-...-43f74f9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C interface {
	Now() time.Time
}

type Mock

type Mock struct {
	// contains filtered or unexported fields
}

func (*Mock) Add

func (m *Mock) Add(d time.Duration)

func (Mock) Now

func (m Mock) Now() time.Time

type Real

type Real struct{}

func (Real) Now

func (r Real) Now() time.Time

Jump to

Keyboard shortcuts

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