fillreturns

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package fillreturns defines an Analyzer that will attempt to automatically fill in a return statement that has missing values with zero value elements.

Index

Constants

View Source
const Doc = `` /* 403-byte string literal not displayed */

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:             "fillreturns",
	Doc:              Doc,
	Requires:         []*analysis.Analyzer{},
	Run:              run,
	RunDespiteErrors: true,
}

Functions

func FixesError

func FixesError(err types.Error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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