summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-05-19 10:45:26 +0300
committerGrail Finder <wohilas@gmail.com>2025-05-19 10:45:26 +0300
commit8b9a33d3302ac7e094029556dcc718345afccc4c (patch)
tree4dec3637fc8999b5905ae62083b2ce77d284cd30 /extra
parent94df5b830c84d1fb570c85ec072d917ea4497d8c (diff)
Chore: nolint comment for nonvalid issues
Diffstat (limited to 'extra')
-rw-r--r--extra/audio.go2
-rw-r--r--extra/stt.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/extra/audio.go b/extra/audio.go
index fc5e2ba..73d75ed 100644
--- a/extra/audio.go
+++ b/extra/audio.go
@@ -144,7 +144,7 @@ func (o *KokoroOrator) requestSound(text string) (io.ReadCloser, error) {
if err != nil {
return nil, fmt.Errorf("failed to marshal payload: %w", err)
}
- req, err := http.NewRequest("POST", o.URL, bytes.NewBuffer(payloadBytes))
+ req, err := http.NewRequest("POST", o.URL, bytes.NewBuffer(payloadBytes)) //nolint:noctx
if err != nil {
return nil, fmt.Errorf("failed to create request: %w", err)
}
diff --git a/extra/stt.go b/extra/stt.go
index 51fd314..cd9e82e 100644
--- a/extra/stt.go
+++ b/extra/stt.go
@@ -89,7 +89,7 @@ func (stt *WhisperSTT) StopRecording() (string, error) {
return "", err
}
// Send request
- resp, err := http.Post(stt.ServerURL, writer.FormDataContentType(), body)
+ resp, err := http.Post(stt.ServerURL, writer.FormDataContentType(), body) //nolint:noctx
if err != nil {
stt.logger.Error("fn: StopRecording", "error", err)
return "", err