NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules · #3098 by repository stars
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
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
修改时间轮时间种子的初始化位置。 具体原因 #18
修改时间轮时间种子的初始化位置。
具体原因 #18
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
修复:选用minheap时,第一次时间不准的问题。
修复:选用minheap时,第一次时间不准的问题。
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="type curstomTest struct {
自定义周期性定时器
实现时间翻倍定时的例子
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()
}Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →