clock

package
v0.0.0-...-0896cb3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 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 SystemTime

type SystemTime struct{}

func (SystemTime) After

func (st SystemTime) After(d time.Duration) <-chan time.Time

func (SystemTime) Now

func (st SystemTime) Now() time.Time

type Time

type Time interface {
	Now() time.Time
	After(time.Duration) <-chan time.Time
}

Jump to

Keyboard shortcuts

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