time

package
v0.0.0-...-d64b81a Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStopWatch

func NewStopWatch() *stopWatch

func SecondsDuration

func SecondsDuration(s int) time.Duration

Types

type Clock

type Clock struct {
	// contains filtered or unexported fields
}

func NewClock

func NewClock() Clock

func (*Clock) Lock

func (clock *Clock) Lock()

func (*Clock) Now

func (clock *Clock) Now() time.Time

func (*Clock) SetTime

func (clock *Clock) SetTime(t *time.Time)

Jump to

Keyboard shortcuts

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