mirror of
https://github.com/taigrr/elevenlabs.git
synced 2026-04-02 03:08:57 -07:00
chore: update dependencies, fix vet warning (#14)
- Bump go directive from 1.23 to 1.24 - Update ebitengine/oto/v3 v3.3.2 → v3.4.0 - Update ebitengine/purego v0.8.0 → v0.9.1 - Update golang.org/x/sys v0.32.0 → v0.41.0 - Fix fmt.Sprintf with non-format string in stt.go
This commit is contained in:
@@ -75,7 +75,7 @@ func (c *Client) ConvertSpeechToTextFromReader(ctx context.Context, reader io.Re
|
||||
return nil, fmt.Errorf("failed to close multipart writer: %w", err)
|
||||
}
|
||||
|
||||
url := fmt.Sprintf(c.endpoint + "/v1/speech-to-text")
|
||||
url := c.endpoint + "/v1/speech-to-text"
|
||||
req, err := http.NewRequestWithContext(ctx, http.MethodPost, url, body)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to create request: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user