unret

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: BSD-3-Clause Imports: 8 Imported by: 1

Documentation

Overview

Package unret implements the unused-results analyzer. It reports per callee (a function, interface, or closure) the results that were ignored. By default it does not report results from exported or uncalled callees, nor from ones that appear likely to be exported in some other way. These defaults can be overridden.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyzer

func Analyzer() *unretAnalyzer

Analyzer returns a new unretAnalyzer that can be configured before using with, e.g., an analysis checker or test harness.

Types

This section is empty.

Jump to

Keyboard shortcuts

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