Commit a2f3d10b authored by IanShaw027's avatar IanShaw027
Browse files

fix(lint): 使用 any 替代 interface{} 以符合 gofmt 规则

parent c5781c69
...@@ -347,7 +347,7 @@ func (c *concurrencyCache) GetAccountsLoadBatch(ctx context.Context, accounts [] ...@@ -347,7 +347,7 @@ func (c *concurrencyCache) GetAccountsLoadBatch(ctx context.Context, accounts []
return map[int64]*service.AccountLoadInfo{}, nil return map[int64]*service.AccountLoadInfo{}, nil
} }
args := []interface{}{c.slotTTLSeconds} args := []any{c.slotTTLSeconds}
for _, acc := range accounts { for _, acc := range accounts {
args = append(args, acc.ID, acc.MaxConcurrency) args = append(args, acc.ID, acc.MaxConcurrency)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment