tools: golang.org/x/tools/go/analysis/passes/atomic Index | Files

package atomic

import "golang.org/x/tools/go/analysis/passes/atomic"

Package atomic defines an Analyzer that checks for common mistakes using the sync/atomic package.

Index

Package Files

atomic.go

Constants

const Doc = "" /* 175 byte string literal not displayed */

Variables

var Analyzer = &analysis.Analyzer{
    Name:             "atomic",
    Doc:              Doc,
    Requires:         []*analysis.Analyzer{inspect.Analyzer},
    RunDespiteErrors: true,
    Run:              run,
}

Package atomic imports 7 packages (graph) and is imported by 10 packages. Updated 2019-11-17. Refresh now. Tools for package owners.