PackageTrack
Sign in Get early access

github.com/antlabs/timer

v0.1.4 #2840 most downloaded on Go modules antlabs/timer

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships unpredictably

gaps range from 8 days to 1.8 years

Rarely documented

notes for 3 of 16 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

36 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

36 releases · Jun 2020 to Dec 2024
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 36
  1. v0.1.5-0.20241204154000-8d57f32b78e2 04 Dec 2024 pre-release

    Nothing published for this version

  2. v0.1.4 15 May 2024

    Nothing published for this version

  3. v0.1.4-0.20240515033253-c35e2416f43c 15 May 2024 pre-release

    Nothing published for this version

  4. v0.1.3 16 Feb 2024

    Nothing published for this version

  5. v0.1.3-0.20240216102548-da630ca7acfe 16 Feb 2024 pre-release

    Nothing published for this version

  6. v0.1.2 16 Feb 2024

    Nothing published for this version

  7. v0.1.1 02 Feb 2024

    Nothing published for this version

  8. v0.0.13-0.20240202151017-8c8bf64880dd 02 Feb 2024 pre-release

    Nothing published for this version

  9. v0.0.12 04 Jan 2024
    Release notes

    修改时间轮时间种子的初始化位置。

    具体原因 #18

    Open source →
  10. v0.0.12-0.20240104143759-f3de2a2d5742 04 Jan 2024 pre-release

    Nothing published for this version

  11. v0.0.11 15 Aug 2023

    Nothing published for this version

  12. v0.0.11-0.20230815105919-960cf9b49144 15 Aug 2023 pre-release

    Nothing published for this version

  13. v0.0.11-0.20230724060613-8c3abcaf5869 24 Jul 2023 pre-release

    Nothing published for this version

  14. v0.0.10 06 Nov 2022

    Nothing published for this version

  15. v0.0.9 06 Nov 2022

    Nothing published for this version

  16. v0.0.8 06 Nov 2022
    Release notes

    修复:选用minheap时,第一次时间不准的问题。

    Open source →
  17. v0.0.7 05 Nov 2022
    Release notes

    自定义周期性定时器
    实现时间翻倍定时的例子

    type curstomTest struct {
    	count int
    }
    // 只要实现Next接口就行
    func (c *curstomTest) Next(now time.Time) (rv time.Time) {
    	rv = now.Add(time.Duration(c.count) * time.Millisecond * 10)
    	c.count++
    	return
    }
    
    func main() {
            tm := timer.NewTimer(timer.WithMinHeap())
            node := tm.CustomFunc(&curstomTest{count: 1}, func() {
                    log.Printf("%v\n", time.Now())
            })
            tm.Run()
    }
    Open source →
  18. v0.0.6 03 Nov 2022

    Nothing published for this version

  19. v0.0.6-0.20210129132543-633a7de26c51 29 Jan 2021 pre-release

    Nothing published for this version

  20. v0.0.5 14 Jul 2020

    Nothing published for this version

  21. v0.0.5-0.20200714104723-16de59f52ecd 14 Jul 2020 pre-release

    Nothing published for this version

  22. v0.0.5-0.20200618015801-ffc9f77d9489 18 Jun 2020 pre-release

    Nothing published for this version

  23. v0.0.4 17 Jun 2020

    Nothing published for this version

  24. v0.0.4-0.20200617105209-958234d53d90 17 Jun 2020 pre-release

    Nothing published for this version

  25. v0.0.3 15 Jun 2020

    Nothing published for this version

  26. v0.0.2 15 Jun 2020

    Nothing published for this version

  27. v0.0.1 11 Jun 2020

    Nothing published for this version

  28. v0.0.0-20200611060538-448dbc430352 11 Jun 2020 pre-release

    Nothing published for this version

  29. v0.0.0-20200611043034-6a9a97b923e7 11 Jun 2020 pre-release

    Nothing published for this version

  30. v0.0.0-20200610114612-bb9ca1040223 10 Jun 2020 pre-release

    Nothing published for this version

  31. v0.0.0-20200610113719-da46010b5744 10 Jun 2020 pre-release

    Nothing published for this version

  32. v0.0.0-20200610113526-542b95d010d0 10 Jun 2020 pre-release

    Nothing published for this version

  33. v0.0.0-20200609112503-230f1ecbe958 09 Jun 2020 pre-release

    Nothing published for this version

  34. v0.0.0-20200609110503-bffafce6eff2 09 Jun 2020 pre-release

    Nothing published for this version

  35. v0.0.0-20200609051424-cd34c55e76ad 09 Jun 2020 pre-release

    Nothing published for this version

  36. v0.0.0-20200608142445-9f6d12f3771a 08 Jun 2020 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive