class
Analyzer::Go::Gf
- Analyzer::Go::Gf
- Analyzer::Go::GoEngine
- Analyzer
- Reference
- Object
Defined in:
analyzer/analyzers/go/gf.crConstant Summary
-
IMPORT_MARKER =
"github.com/gogf/gf" -
IMPORT_MARKER_RE =
Regex.union(IMPORT_MARKER) -
One precompiled matcher instead of a
String#includes?scan per.gofile:includes?runs Rabin-Karp over the whole buffer and the marker is absent in the overwhelming majority of files in a polyglot repo, so every one of them pays the full scan. SeeAnalyzer#content_matches?.