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