mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-07 02:20:25 +08:00
14 lines
189 B
Go
14 lines
189 B
Go
package utils
|
|
|
|
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)
|
|
}
|
|
}
|