Replace t.Sub(time.Now()) with time.Until(t)
ProprietaryReplace t.Sub(time.Now()) with time.Until(t) for clarity.
org. openrewrite. golang. codequality. ReplaceTimeUntilWithUntilmod run . --recipe= org. openrewrite. golang. codequality. ReplaceTimeUntilWithUntilInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.