mtime

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Now = func() time.Time { return time.Now() }

Now returns the current time.

Functions

func NowForce

func NowForce(t time.Time)

NowForce sets the time returned by Now to t.

func NowReset

func NowReset()

NowReset makes Now returns the current time again.

Types

This section is empty.

Jump to

Keyboard shortcuts

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