time

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

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

Documentation

Overview

Package time provide features which supplements standard time package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NowProvider

type NowProvider func() gTime.Time

NowProvider is a provider for current time

func (NowProvider) Now

func (m NowProvider) Now() gTime.Time

Now returns current time. If NowProvider is not initialised, then current time is returned, otherwise NowProvider is called and result returned.

Jump to

Keyboard shortcuts

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