Avoid unsafe package
Recipe ID
org.openrewrite.golang.codequality.AvoidUnsafePackageArtifactgithub.com/moderneinc/recipes-goFind any usage of the unsafe package. The unsafe package bypasses Go's type safety guarantees and should be avoided unless absolutely necessary.
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.golang.codequality.AvoidUnsafePackageIf the recipe isn’t available locally, install it with:
mod config recipes go install github.com/moderneinc/recipes-go