summaryrefslogtreecommitdiff
path: root/internal/audio/fallbacks.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-03 08:08:51 +0300
committerPaul Buetow <paul@buetow.org>2026-04-03 08:08:51 +0300
commitd53b03d280363ecc6068ba93985adfc4defee956 (patch)
tree741182d83abd584fb133da2057a9af986d8f8a41 /internal/audio/fallbacks.go
parent170a4a9d46a32bcb28c04f6ff6bb1a48284ec424 (diff)
fix: resolve all golangci-lint issues
- audio/fallbacks.go: lowercase error string per Go convention - gui/app.go: remove empty else branch in keyboard shortcut handler - audio/provider_test.go: remove unused mockProvider type - update test assertions in voices_test.go and processor_test.go to match the corrected lowercase error string Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/audio/fallbacks.go')
-rw-r--r--internal/audio/fallbacks.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/audio/fallbacks.go b/internal/audio/fallbacks.go
index f22301f..587474d 100644
--- a/internal/audio/fallbacks.go
+++ b/internal/audio/fallbacks.go
@@ -27,5 +27,5 @@ func RunWithVoiceFallbacks(initialVoice string, generate func(voice string) erro
}
}
- return "", fmt.Errorf("Gemini returned no audio for voices %s: %w", strings.Join(attempted, ", "), lastErr)
+ return "", fmt.Errorf("gemini returned no audio for voices %s: %w", strings.Join(attempted, ", "), lastErr)
}