customcheck

package
v0.0.0-...-1b4b5f0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package customcheck inludes static analyser for os.exit in main func of main package

Index

Constants

This section is empty.

Variables

View Source
var OsExitInMainAnalyzer = &analysis.Analyzer{
	Name: "osexitinmaincheck",
	Doc:  "check for os.exit in main function of main package",
	Run:  run,
}

Functions

This section is empty.

Types

type Pass

type Pass struct {
	Fset         *token.FileSet
	Pkg          *types.Package
	TypesInfo    *types.Info
	Files        []*ast.File
	OtherFiles   []string
	IgnoredFiles []string
}

Jump to

Keyboard shortcuts

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