7 lines
116 B
Go
7 lines
116 B
Go
package monotime
|
|
|
|
import "time"
|
|
|
|
var initTime = time.Now()
|
|
|
|
func Now() time.Time { return initTime.Add(elapsed()) }
|