add go.mod cataloger (#97)

This commit is contained in:
Alex Goodman
2020-07-23 08:17:30 -04:00
committed by GitHub
parent 265516682f
commit 44c69f1f91
12 changed files with 256 additions and 0 deletions
+3
View File
@@ -6,6 +6,7 @@ const (
//JavaScript
Python
Ruby
Go
)
type Language uint
@@ -16,6 +17,7 @@ var languageStr = []string{
//"javascript",
"python",
"ruby",
"go",
}
var AllLanguages = []Language{
@@ -23,6 +25,7 @@ var AllLanguages = []Language{
//JavaScript,
Python,
Ruby,
Go,
}
func (t Language) String() string {
+3
View File
@@ -12,6 +12,7 @@ const (
PythonRequirementsPkg
JavaPkg
JenkinsPluginPkg
GoModulePkg
)
type Type uint
@@ -28,6 +29,7 @@ var typeStr = []string{
"python-requirements",
"java-archive",
"jenkins-plugin",
"go-module",
}
var AllPkgs = []Type{
@@ -41,6 +43,7 @@ var AllPkgs = []Type{
PythonRequirementsPkg,
JavaPkg,
JenkinsPluginPkg,
GoModulePkg,
}
func (t Type) String() string {