doculint

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package doculint contains the necessary logic for the doculint linter. The doculint linter ensures proper documentation on various types, functions, variables, constants, etc. in the form of comments.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = analysis.Analyzer{
	Name: name,
	Doc:  doc,
	Run:  doculint,
}

Analyzer exports the doculint analyzer (linter).

Functions

func NewAnalyzerWithOptions

func NewAnalyzerWithOptions(
	_minFunLen int, _validatePackages, _validateFunctions, _validateVariables, _validateConstants, _validateTypes bool) *analysis.Analyzer

NewAnalyzerWithOptions returns the Analyzer package-level variable, with the options that would have been defined via flags if this was ran as a vet tool. This is so the analyzers can be ran outside of the context of a vet tool and config can be gathered from elsewhere.

Types

This section is empty.

Jump to

Keyboard shortcuts

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