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

const Doc = "" /* 404 byte string literal not displayed */

Variables

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

Functions

func FixesError

func FixesError(msg string) bool

Types

This section is empty.

Source Files