Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
a2f3d10b
Commit
a2f3d10b
authored
Jan 01, 2026
by
IanShaw027
Browse files
fix(lint): 使用 any 替代 interface{} 以符合 gofmt 规则
parent
c5781c69
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/repository/concurrency_cache.go
View file @
a2f3d10b
...
@@ -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
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment