Back to / internal / lsp / analysis / fillreturns

Package fillreturns

v0.0.0 (6f4f008)
Latest Go to latest
Published: 1 day ago | License: BSD-3-Clause | Module:


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


Package Files


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


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

func FixesError

func FixesError(msg string) bool
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier