pkg

package
v0.0.0-...-6b3fb0b Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyser

func Analyser() *analysis.Analyzer

Analyser creates a new logcheck analyser.

Types

type RegexpFilter

type RegexpFilter struct {
	// contains filtered or unexported fields
}

RegexpFilter implements flag.Value by accepting a file name and parsing that file.

func (*RegexpFilter) Enabled

func (f *RegexpFilter) Enabled(check string, enabled bool, filename string) bool

Enabled checks whether a certain check is enabled for a file.

func (*RegexpFilter) Set

func (f *RegexpFilter) Set(filename string) error

func (*RegexpFilter) String

func (f *RegexpFilter) String() string

Jump to

Keyboard shortcuts

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