linter

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnlyzer

func NewAnlyzer(parseFlags bool, opts ...Option) *analysis.Analyzer

NewAnlyzer creates a new linter analyzer.

Types

type Option

type Option func(*linter)

Option is a linter configuration option.

func WithEnvName

func WithEnvName(name string) Option

WithEnvName sets custom env tag name for linter.

func WithNoComments added in v1.2.2

func WithNoComments() Option

WithNoComments disables check for documentation comments.

Jump to

Keyboard shortcuts

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