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
bdbc8fa0
Commit
bdbc8fa0
authored
Mar 15, 2026
by
erio
Browse files
fix(ops): align constant declarations for gofmt compliance
parent
63f3af0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/handler/ops_error_logger.go
View file @
bdbc8fa0
...
@@ -28,10 +28,10 @@ const (
...
@@ -28,10 +28,10 @@ const (
opsAccountIDKey
=
"ops_account_id"
opsAccountIDKey
=
"ops_account_id"
// 错误过滤匹配常量 — shouldSkipOpsErrorLog 和错误分类共用
// 错误过滤匹配常量 — shouldSkipOpsErrorLog 和错误分类共用
opsErrContextCanceled
=
"context canceled"
opsErrContextCanceled
=
"context canceled"
opsErrNoAvailableAccounts
=
"no available accounts"
opsErrNoAvailableAccounts
=
"no available accounts"
opsErrInvalidAPIKey
=
"invalid_api_key"
opsErrInvalidAPIKey
=
"invalid_api_key"
opsErrAPIKeyRequired
=
"api_key_required"
opsErrAPIKeyRequired
=
"api_key_required"
opsErrInsufficientBalance
=
"insufficient balance"
opsErrInsufficientBalance
=
"insufficient balance"
opsErrInsufficientAccountBalance
=
"insufficient account balance"
opsErrInsufficientAccountBalance
=
"insufficient account balance"
opsErrInsufficientQuota
=
"insufficient_quota"
opsErrInsufficientQuota
=
"insufficient_quota"
...
...
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