ctxfirst

package module
v0.0.0-...-e53f3b2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 4 Imported by: 1

README

ctxfirst

check for context of argument. this analayzer checks funtion args whether context.Context is first argument.

License

MIT

Author

komem3

Documentation

Overview

Package ctxfirst is analyzer that points out function arguments does not come context.Context at the beginning of the arguments.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "ctxfirst",
	Doc:      Doc,
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      run,
}
View Source
var Doc = `check for context of argument.
this analayzer checks function args whether context.Context is first argument.
`

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