Documentation ¶
Index ¶
- Constants
- Variables
- func CheckAuthenticatedScan()
- func CreateDirectory(dirPath string) error
- func GetCSVFileContent(filePath string) ([]string, error)
- func GetCurrentTime() (formattedTime string)
- func GetGitHubAPIEndPoints(username string) *models.GitHubAPIEndPoints
- func GetJSONFileContent(filePath string) ([]byte, error)
- func GetReportFileNames() *models.ReportFileNames
- func GetReportFilePaths() *models.ReportFileNames
- func IsPreviousScanFileExists() bool
- func RemoveDirectory(dirPath string) error
- func SaveToJson(content []byte, filePath string) error
- func SliceDiff(slice1, slice2 []string) (diff []string)
- func ValidateFlags()
Constants ¶
View Source
const ( GitHubAPIBaseURL = "https://api.github.com" GitHubAPIRateLimit = "https://api.github.com/rate_limit" CloneDirectoryName = "cloned_repo" )
Variables ¶
Functions ¶
func CheckAuthenticatedScan ¶
func CheckAuthenticatedScan()
func CreateDirectory ¶
func GetCSVFileContent ¶ added in v1.5.0
func GetCurrentTime ¶
func GetCurrentTime() (formattedTime string)
func GetGitHubAPIEndPoints ¶
func GetGitHubAPIEndPoints(username string) *models.GitHubAPIEndPoints
func GetJSONFileContent ¶
func GetReportFileNames ¶
func GetReportFileNames() *models.ReportFileNames
func GetReportFilePaths ¶
func GetReportFilePaths() *models.ReportFileNames
func IsPreviousScanFileExists ¶
func IsPreviousScanFileExists() bool
func RemoveDirectory ¶
func SaveToJson ¶
func ValidateFlags ¶
func ValidateFlags()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.