Use custom HTTP client
ProprietaryReplace http.Get, http.Post, http.Head, and http.PostForm with http.DefaultClient equivalents to make the default client explicit.
org. openrewrite. golang. codequality. UseCustomHttpClientmod run . --recipe= org. openrewrite. golang. codequality. UseCustomHttpClientInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.