14 lines
177 B
Go
14 lines
177 B
Go
package times
|
|
|
|
import "time"
|
|
|
|
type sys struct{}
|
|
|
|
func (sys) Now() time.Time {
|
|
return time.Now()
|
|
}
|
|
|
|
func (sys) After(d time.Duration) <-chan time.Time {
|
|
return time.After(d)
|
|
}
|