internal/gaby: go fix -inline ./...
diff --git a/internal/gaby/main_test.go b/internal/gaby/main_test.go
index f9cf95f..9a5d0df 100644
--- a/internal/gaby/main_test.go
+++ b/internal/gaby/main_test.go
@@ -7,7 +7,8 @@
import (
"context"
"fmt"
- "io/ioutil"
+ "io"
+
"log/slog"
"net/http"
"net/http/httptest"
@@ -33,7 +34,7 @@
defer s.Close()
read := func(r *http.Response) string {
- b, _ := ioutil.ReadAll(r.Body)
+ b, _ := io.ReadAll(r.Body)
r.Body.Close()
return string(b)
}
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
internal/gaby: go fix -inline ./...
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |