lint: fix linter warnings reported by golangci-lint (#522)

- Fix #519
This commit is contained in:
Simon Klee
2023-11-07 10:23:06 +01:00
committed by GitHub
parent 9e0232f941
commit 0664105387
23 changed files with 425 additions and 431 deletions

View File

@@ -28,7 +28,6 @@ func Example() {
},
},
)
if err != nil {
fmt.Printf("ChatCompletion error: %v\n", err)
return
@@ -319,7 +318,6 @@ func ExampleDefaultAzureConfig() {
},
},
)
if err != nil {
fmt.Printf("ChatCompletion error: %v\n", err)
return