Remove commented out code

This commit is contained in:
Kota Kanbe
2017-06-03 14:08:11 +09:00
committed by kota kanbe
parent c6ad9ea57a
commit a7951b727c
6 changed files with 0 additions and 120 deletions

View File

@@ -147,21 +147,3 @@ func Distinct(ss []string) (distincted []string) {
}
return
}
// VendorLink returns a URL of the given OS family and CVEID
//TODO
// func VendorLink(family, cveID string) string {
// cType := models.NewCveContentType(family)
// switch cType {
// case models.RedHat:
// return "https://access.redhat.com/security/cve/" + cveID
// case models.Debian:
// return "https://security-tracker.debian.org/tracker/" + cveID
// case models.Ubuntu:
// return "http://people.ubuntu.com/~ubuntu-security/cve/" + cveID
// // case models.FreeBSD:
// // return "http://people.ubuntu.com/~ubuntu-security/cve/" + cveID
// }
// return ""
// }