CodeQL library for Go
codeql/go-all 7.0.1 (changelog, source)
Search

Member predicate GoModFile::getModuleDeclaration

Gets the module declaration of this file, that is, the line declaring the path of this module.

GoModModuleLine getModuleDeclaration()