Check Close() error
ProprietaryReplace bare f.Close() with _ = f.Close() to explicitly mark the discarded error.
org. openrewrite. golang. codequality. CheckCloseErrormod run . --recipe= org. openrewrite. golang. codequality. CheckCloseErrorInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.