Documentation
¶
Overview ¶
Package osexitinlibrary implements a Go analysis linter that flags os.Exit calls in library (pkg/) packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "osexitinlibrary", Doc: "reports os.Exit calls inside library packages where they bypass deferred cleanup and prevent testing", URL: "https://github.com/github/gh-aw/tree/main/pkg/linters/osexitinlibrary", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Analyzer is the os-exit-in-library analysis pass.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.