checks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DenylistImports = &analysis.Analyzer{
		Name: "denylist_imports",
		Doc:  "check for denied imports",
		Run:  runDenylistImports,
	}
)
View Source
var HttpStatusCode = &analysis.Analyzer{
	Name: "httpStatusCode",
	Doc:  "check for http status code",
	Run:  run,
}
View Source
var Imports = &analysis.Analyzer{
	Name: "imports",
	Doc:  "check for import order",
	Run:  runImports,
}
View Source
var License = &analysis.Analyzer{
	Name: "license",
	Doc:  "check for a copyright header",
	Run:  runLicense,
}
View Source
var Migrations = &analysis.Analyzer{
	Name: "migrations",
	Doc:  "check migrations for black-listed packages.",
	Run:  checkMigrations,
}
View Source
var Models = &analysis.Analyzer{
	Name: "models",
	Doc:  "check models for black-listed packages.",
	Run:  checkModels,
}
View Source
var ModelsSession = &analysis.Analyzer{
	Name: "modelssession",
	Doc:  "check models for misuse of session.",
	Run:  checkModelsSession,
}

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