mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-03-30 09:57:12 +00:00
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