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

package hash

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

Package hash defines an Analyzer that detects correct use of hash.Hash.

Index

Package Files

hash.go

Constants

const Doc = `check for correct use of hash.Hash`

Doc documents this pass.

Variables

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

Analyzer defines this pass.

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