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
a3b81ef7
"...components/admin/git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "8664cff8591be5d50e8177563529187191c5531d"
Commit
a3b81ef7
authored
Jan 06, 2026
by
shaw
Browse files
fix(test): 补充 stubUsageLogRepo 缺失的 GetStatsWithFilters 方法
parent
015974a2
Changes
1
Show whitespace changes
Inline
Side-by-side
backend/internal/server/api_contract_test.go
View file @
a3b81ef7
...
@@ -1065,6 +1065,10 @@ func (r *stubUsageLogRepo) GetAccountUsageStats(ctx context.Context, accountID i
...
@@ -1065,6 +1065,10 @@ func (r *stubUsageLogRepo) GetAccountUsageStats(ctx context.Context, accountID i
return
nil
,
errors
.
New
(
"not implemented"
)
return
nil
,
errors
.
New
(
"not implemented"
)
}
}
func
(
r
*
stubUsageLogRepo
)
GetStatsWithFilters
(
ctx
context
.
Context
,
filters
usagestats
.
UsageLogFilters
)
(
*
usagestats
.
UsageStats
,
error
)
{
return
nil
,
errors
.
New
(
"not implemented"
)
}
type
stubSettingRepo
struct
{
type
stubSettingRepo
struct
{
all
map
[
string
]
string
all
map
[
string
]
string
}
}
...
...
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