fix(lint): 使用 any 替代 interface{} 以符合 gofmt 规则
This commit is contained in:
1 parent
c5781c69bb
commit
a2f3d10bee
1 file changed
+1
-1
@@ -347,7 +347,7 @@ func (c *concurrencyCache) GetAccountsLoadBatch(ctx context.Context, accounts []
|
||||
return map[int64]*service.AccountLoadInfo{}, nil
|
||||
}
|
||||
|
||||
args := []interface{}{c.slotTTLSeconds}
|
||||
args := []any{c.slotTTLSeconds}
|
||||
for _, acc := range accounts {
|
||||
args = append(args, acc.ID, acc.MaxConcurrency)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user