src

package
v0.0.0-...-3c35577 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoAll

func DoAll(pkgDir string, options Options)

func ParanoExhaustiveFillingCheck

func ParanoExhaustiveFillingCheck(n *fileparser.Node, packageName string, featureExhaustiveFilling *featureExhaustiveFilling, filename1 string, filename2 string) (failedAtLeastOnce bool)

func ParanoExhaustiveFillingCheckGlobal

func ParanoExhaustiveFillingCheckGlobal(mInfosByPackageName map[string]*packageInfos) (failedAtLeastOnce bool)

func ParanoExhaustiveFillingInit

func ParanoExhaustiveFillingInit() *featureExhaustiveFilling

func ParanoExhaustiveFillingVisit

func ParanoExhaustiveFillingVisit(n *fileparser.Node, featureExhaustiveFilling *featureExhaustiveFilling)

func ParanoPrivateToFileCheck

func ParanoPrivateToFileCheck(n *fileparser.Node, featurePrivateToFile *featurePrivateToFile, filename1 string, filename2 string, ignorePrivateToFile util.WildcardMap)

func ParanoPrivateToFileInit

func ParanoPrivateToFileInit(fileBytes []byte) *featurePrivateToFile

func ParanoPrivateToFileVisit

func ParanoPrivateToFileVisit(n *fileparser.Node, feat *featurePrivateToFile)

func ParanoSqllintCheckQueries

func ParanoSqllintCheckQueries(sqlqo SQLQueryOptions)

func ParanoSqllintVisit

func ParanoSqllintVisit(nCaller *fileparser.Node, filename string, constantValues []fileparser.ConstValue, sqlqo SQLQueryOptions) bool

Types

type Options

type Options struct {
	IgnoreGoFiles       util.WildcardMap
	IgnorePrivateToFile util.WildcardMap
	Sqlqo               SQLQueryOptions
}

Options defines options for checks

type SQLQueryOptions

type SQLQueryOptions struct {
	FunctionsNames util.WildcardMap
	AllInOne       bool
	LintBinary     string
	IgnoreGoFiles  util.WildcardMap
}

Directories

Path Synopsis
https://medium.com/justforfunc/understanding-go-programs-with-go-parser-c4e88a6edb87
https://medium.com/justforfunc/understanding-go-programs-with-go-parser-c4e88a6edb87

Jump to

Keyboard shortcuts

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