mirror of
https://github.com/fumiama/ReiBot.git
synced 2026-06-05 00:50:25 +08:00
chore: make lint happy
This commit is contained in:
@@ -9,12 +9,12 @@ type FutureEvent struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NewFutureEvent 创建一个FutureEvent, 并返回其指针
|
// NewFutureEvent 创建一个FutureEvent, 并返回其指针
|
||||||
func NewFutureEvent(typ string, prio int, Block bool, rule ...Rule) *FutureEvent {
|
func NewFutureEvent(typ string, prio int, blk bool, rule ...Rule) *FutureEvent {
|
||||||
return &FutureEvent{
|
return &FutureEvent{
|
||||||
Type: typ,
|
Type: typ,
|
||||||
Priority: prio,
|
Priority: prio,
|
||||||
Rule: rule,
|
Rule: rule,
|
||||||
Block: Block,
|
Block: blk,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user