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

package unconvert

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

Package unconvert defines an Analyzer that detects unnecessary type conversions.

Index

Package Files

unconvert.go

Constants

const Doc = `check for unnecessary type conversions`

Doc documents this pass.

Variables

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

Analyzer defines this pass.

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