mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-20 15:06:36 +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
@@ -140,7 +140,7 @@ type SoraS3Profile struct {
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
|
||||
// --- Google Drive 专属 ---
|
||||
AuthType string `json:"auth_type,omitempty"` // "oauth2" / "service_account"
|
||||
AuthType string `json:"auth_type,omitempty"` // "oauth2" / "service_account"
|
||||
ClientID string `json:"client_id,omitempty"`
|
||||
ClientSecret string `json:"-"`
|
||||
ClientSecretConfigured bool `json:"client_secret_configured"`
|
||||
|
||||
Reference in new issue
Block a user