unchecked_deferredclose

package
v0.91.10 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package unchecked_deferredclose implements a Go analysis linter that flags deferred Close() calls without error checking, which can hide resource cleanup failures. Close() calls inside deferred closures are checked by closeerrorunchecked.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = analyzerutil.New("unchecked_deferredclose", "reports direct deferred Close() calls that discard errors; use a deferred closure that handles the Close() error", run)

Analyzer is the unchecked-deferred-close analysis pass.

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