14 lines
279 B
Go
14 lines
279 B
Go
// Package local provides small in-process runtime adapters used by the user
|
|
// service process.
|
|
package local
|
|
|
|
import "time"
|
|
|
|
// Clock returns the current wall-clock time.
|
|
type Clock struct{}
|
|
|
|
// Now returns the current time.
|
|
func (Clock) Now() time.Time {
|
|
return time.Now()
|
|
}
|