Documentation
¶
Overview ¶
Package time extends the time package in the stdlib.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clock ¶
Clock tells the time.
func NewStoppedClock ¶
NewStoppedClock returns a new StoppedClock.
type StoppedClock ¶
type StoppedClock struct {
// contains filtered or unexported fields
}
StoppedClock shows the moment it has been stopped.
func (*StoppedClock) Now ¶
func (c *StoppedClock) Now() time.Time
Now tells the time when it has been stopped.
Click to show internal directories.
Click to hide internal directories.