Find deprecated sync/atomic functions
Recipe ID
org.openrewrite.golang.codequality.FindDeprecatedAtomicFunctionsArtifactgithub.com/moderneinc/recipes-goFind deprecated sync/atomic free-function calls (e.g. atomic.AddInt32) that should be migrated to the type-safe atomic types introduced in Go 1.19 (e.g. atomic.Int32).
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.FindDeprecatedAtomicFunctionsIf the recipe isn’t available locally, install it with:
mod config recipes go install github.com/moderneinc/recipes-go