timewheel_test.go 226 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 package components import ( "fmt" "testing" "time" ) func PRINT() { fmt.Println("12312312312") } func TestTimeWheel_Start(t *testing.T) { TimeOut(1 * time.Second, func() { fmt.Println("12312313123") }) select{} }