fix(lint): 使用 any 替代 interface{} 以符合 gofmt 规则
This commit is contained in:
@@ -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