toolshonnef.co/go/tools/quickfix/qf1011 Index | Files

package qf1011

import "honnef.co/go/tools/quickfix/qf1011"

Index

Variables

var Analyzer = SCAnalyzer.Analyzer
var SCAnalyzer = lint.InitializeAnalyzer(&lint.Analyzer{
	Analyzer: sharedcheck.RedundantTypeInDeclarationChecker("could", true),
	Doc: &lint.RawDocumentation{
		Title:    "Omit redundant type from variable declaration",
		Since:    "2021.1",
		Severity: lint.SeverityHint,
	},
})

Source Files

qf1011.go

Version
v0.6.0-0.dev
Published
Aug 13, 2024
Platform
linux/amd64
Imports
2 packages
Last checked
1 second ago

Tools for package owners.