time

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 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