t:=time.NewTicker(time.Second)
for {
select {
case a := <-t.C:
fmt.Println("t1定时器",a.Second())
}
}
fmt.Println("我在定时")
t:=time.NewTicker(time.Second)
for {
select {
case a := <-t.C:
fmt.Println("t1定时器",a.Second())
}
}
fmt.Println("我在定时")