func demo(t1 interface{}, t2 interface{}) { for { select { case <-t1.(*time.Ticker).C: pr...