oplint

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package oplint defines an Analyzer that reports Op const declarations When creating errors or logs, it is common to use an "op" constant to capture what function is making the call, to allow for debugging where a certain error took place.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:  "oplint",
	Doc:   "reports inconsistent op const declarations",
	Run:   run,
	Flags: newFlagSet(),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL