Documentation ¶
Index ¶
- func DoAll(pkgDir string, options Options)
- func ParanoExhaustiveFillingCheck(n *fileparser.Node, packageName string, ...) (failedAtLeastOnce bool)
- func ParanoExhaustiveFillingCheckGlobal(mInfosByPackageName map[string]*packageInfos) (failedAtLeastOnce bool)
- func ParanoExhaustiveFillingInit() *featureExhaustiveFilling
- func ParanoExhaustiveFillingVisit(n *fileparser.Node, featureExhaustiveFilling *featureExhaustiveFilling)
- func ParanoPrivateToFileCheck(n *fileparser.Node, featurePrivateToFile *featurePrivateToFile, ...)
- func ParanoPrivateToFileInit(fileBytes []byte) *featurePrivateToFile
- func ParanoPrivateToFileVisit(n *fileparser.Node, feat *featurePrivateToFile)
- func ParanoSqllintCheckQueries(sqlqo SQLQueryOptions)
- func ParanoSqllintVisit(nCaller *fileparser.Node, filename string, ...) bool
- type Options
- type SQLQueryOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 }
Source Files ¶
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 |
Click to show internal directories.
Click to hide internal directories.