mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-20 23:07:18 +00:00
fix: resolve golangci-lint errors (gofmt, staticcheck, unused)
- Fix struct field alignment in dto/types.go, settings_view.go, sora_generation_service.go for gofmt compliance - Remove embedded field "Account" from selector in account_handler.go (QF1008) - Remove unused settingService field from SoraGDriveOAuthService - Replace deprecated google.CredentialsFromJSON with CredentialsFromJSONWithParams (SA1019) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
ea5e5dd9c7
commit
4aada8a336
6 files changed
+19
-21
No files matched your search
@@ -35,9 +35,9 @@ type soraGenerationRepoConditionalUpdater interface {
|
||||
|
||||
// SoraGenerationService 管理 Sora 客户端的生成记录 CRUD。
|
||||
type SoraGenerationService struct {
|
||||
genRepo SoraGenerationRepository
|
||||
objectStorage SoraObjectStorage
|
||||
quotaService *SoraQuotaService
|
||||
genRepo SoraGenerationRepository
|
||||
objectStorage SoraObjectStorage
|
||||
quotaService *SoraQuotaService
|
||||
}
|
||||
|
||||
// NewSoraGenerationService 创建生成记录服务。
|
||||
|
||||
Reference in new issue
Block a user