Class GoMod
-
- All Implemented Interfaces:
public final class GoMod extends PackageManagerThe Go Modules package manager for Go. Also see the usage and troubleshooting guide (https://github.com/golang/go/wiki/Modules).
Note: The file
go.sumis not a lockfile as Go modules already allows for reproducible builds without that file. Thus, no logic for handling the AnalyzerConfiguration.allowDynamicVersions is needed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classGoMod.Factory
-
Field Summary
Fields Modifier and Type Field Description private final FileanalysisRootprivate final AnalyzerConfigurationanalyzerConfigprivate final Excludesexcludesprivate final StringmanagerNameprivate final StringprojectTypeprivate final RepositoryConfigurationrepoConfig
-
Method Summary
Modifier and Type Method Description List<File>mapDefinitionFiles(List<File> definitionFiles)List<ProjectAnalyzerResult>resolveDependencies(File definitionFile, Map<String, String> labels)-
Methods inherited from class org.ossreviewtoolkit.analyzer.PackageManager
afterResolution, beforeResolution, findPackageManagerDependencies, getAnalysisRoot, getAnalyzerConfig, getExcludes, getManagerName, getProjectType, getRepoConfig, resolveDependencies -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-