Documentation
¶
Index ¶
- Variables
- func BuildAnalyzer(analyzerDir, dest string) error
- func Copy(src, dest string, copyFile func(string) bool) error
- func CopyEmbeddedFiles(embeddedFiles embed.FS, dest string) error
- func DiscoverGoCheckers(dir string) ([]string, error)
- func GenerateAnalyzer(checkerDir, dest string) error
- func GenerateBuiltinChecker(checkerDirs []string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var AnalyzerStubs embed.FS
We use go.mod.embed because embedding is not supported for go.mod files
Functions ¶
func BuildAnalyzer ¶
Build the analyzer binary from the given directory to the destination directory
func CopyEmbeddedFiles ¶
Copy all the files recursively from the analyzerFiles embed.FS to the given directory
func DiscoverGoCheckers ¶ added in v0.4.0
func GenerateAnalyzer ¶
Generate the complete buildable analyzer from the .globstar directory
func GenerateBuiltinChecker ¶ added in v0.6.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.