mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-05 16:50:35 +08:00
实现IP黑白名单、国家|地区封禁、省份封禁
This commit is contained in:
13
internal/grids/time_test.go
Normal file
13
internal/grids/time_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user