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

package timer

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

Package timer defines an Analyzer that detects correct use of timeutil.Timer.

Index

Package Files

timer.go

Constants

const Doc = `check for correct use of timeutil.Timer`

Doc documents this pass.

Variables

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

Analyzer defines this pass.

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