cockroach: github.com/cockroachdb/cockroach/pkg/testutils/lint/passes/nocopy Index | Files

package nocopy

import "github.com/cockroachdb/cockroach/pkg/testutils/lint/passes/nocopy"

Package nocopy defines an Analyzer that detects invalid uses of util.NoCopy.

Index

Package Files

nocopy.go

Constants

const Doc = `check for invalid uses of util.NoCopy`

Doc documents this pass.

Variables

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

Analyzer defines this pass.

Package nocopy imports 4 packages (graph) and is imported by 1 packages. Updated 2020-08-12. Refresh now. Tools for package owners.