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