添加注释

This commit is contained in:
Yun
2025-09-24 17:29:11 +08:00
parent 85d041753e
commit 84569dc290
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -14,6 +14,10 @@ import (
"github.com/yuninks/timerx/priority"
)
// 领导
// 作用:领导选举,是领导才执行,避免资源浪费
// 依赖:priority
type Leader struct {
ctx context.Context
cancel context.CancelFunc