add more license examples

This commit is contained in:
Shawn Smith
2016-02-26 08:32:47 +09:00
parent e4b6d09adf
commit 87ab879c0d

View File

@@ -21,11 +21,11 @@ func (g License) Weight() float64 {
return .10
}
// thank you https://github.com/ryanuber/go-license
// thank you https://github.com/ryanuber/go-license and client9
var licenses = []string{
"license", "license.txt", "license.md", "license.code",
"copying", "copying.txt", "copying.md",
"unlicense",
"unlicense", "licence", "copyleft", "copyright",
}
// Percentage returns 0 if no LICENSE, 1 if LICENSE