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.
Click to show internal directories.
Click to hide internal directories.