Class GoModDependency
- java.lang.Object
-
- org.owasp.dependencycheck.data.golang.GoModDependency
-
public class GoModDependency extends java.lang.Object
Represents a Go module dependency.- Author:
- Matthijs van den Bos
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dependency
toDependency(Dependency parentDependency)
Converts the GoModDependency into a Dependency object.java.lang.String
toString()
-
-
-
Method Detail
-
toDependency
public Dependency toDependency(Dependency parentDependency)
Converts the GoModDependency into a Dependency object.- Parameters:
parentDependency
- the parent dependency- Returns:
- the resulting Dependency object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-