Prefer hex.EncodeToString over fmt.Sprintf

Proprietary

Replace fmt.Sprintf("%x", data) with hex.EncodeToString(data) for clearer intent and better performance.

org.openrewrite.golang.codequality.PreferHexEncoding
mod run . --recipe=org.openrewrite.golang.codequality.PreferHexEncoding

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.