Help us shape the future of Go! Take the 2026 Go Developer Survey

panicinlibrarycode

package
v0.92.7 Latest Latest
Warning

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

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

Documentation

Overview

Package panicinlibrarycode implements a Go analysis linter that flags panic() calls in library (pkg/) packages.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = analyzerutil.NewAtPath("panicinlibrarycode", "reports panic() calls in library code under pkg/ that should return errors instead", "panic-in-library-code", analyzePanicCalls)

Analyzer is the panic-in-library-code 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