go func(){ <- timer.C fmt.Println("開始執行函數") }() time.Sleep(3 * time.Second) succ := timer.Stop() //未到timer的timeout時可停止timer的 ...
確定! 回上一頁