CodeQL library for Go
codeql/go-all 2.1.3 (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()