mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-06 01:50:26 +08:00
14 lines
189 B
Go
14 lines
189 B
Go
package grids
|
|
|
|
import (
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestUnixTime(t *testing.T) {
|
|
for i := 0; i < 5; i++ {
|
|
t.Log(UnixTime(), "real:", time.Now().Unix())
|
|
time.Sleep(1 * time.Second)
|
|
}
|
|
}
|