analyzer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IncludePatternsString string
	ExcludePatternsString string
)
View Source
var Analyzer = &analysis.Analyzer{
	Name:     "exhaustruct",
	Doc:      "Checks if all structure fields are initialized",
	Run:      run,
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Flags:    newFlagSet(),
}

Functions

This section is empty.

Types

type PatternsList

type PatternsList []*regexp.Regexp

func (PatternsList) MatchesAny

func (l PatternsList) MatchesAny(str string) bool

MatchesAny matches provided string against all regexps in a slice.

Jump to

Keyboard shortcuts

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