mtime

package
Version: v0.0.0-...-ebab3a7 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL