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