Documentation ¶
Index ¶
- func CacheDir() string
- func ConvertModels(filePath string, data models.Module) (models.Modules, error)
- func Exec(command string, args []string) (string, error)
- func Exists(path string) (bool, error)
- func GenWorkers(num, wait int) chan<- func()
- func GetLastUpdatedDate(dist string) (time.Time, error)
- func LookupEnv(key, defaultValue string) string
- func Read(filePath string) (models.Modules, error)
- func SaveCVEPerYear(dirName string, cveID string, data models.Module) error
- func SetLastUpdatedDate(dist string, lastUpdatedDate time.Time) error
- func VulnListDir() string
- func Write(filePath string, data models.Modules) error
- type LastUpdated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertModels ¶
ConvertModels :
func GetLastUpdatedDate ¶
GetLastUpdatedDate :
func SaveCVEPerYear ¶
SaveCVEPerYear :
func SetLastUpdatedDate ¶
SetLastUpdatedDate :
Types ¶
Click to show internal directories.
Click to hide internal directories.