Documentation ¶
Index ¶
- func CloseLoggers()
- func Combine(directory string, filename string) string
- func Count(folder string) (int, error)
- func ExistsInDatabase(filename string, name string) (bool, error)
- func FileDownloader(url string, file string) error
- func InsertIntoDatabase(filename string, key string, value string) error
- func Mkdir(folder string) error
- func NewLogger(loggerInfo LoggerInfo) *log.Logger
- type LoggerInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseLoggers ¶
func CloseLoggers()
func ExistsInDatabase ¶
ExistsInDatabase check if a package's name already exists into the database file
func FileDownloader ¶
FileDownloader method to download a file from an URI
func InsertIntoDatabase ¶
InsertIntoDatabase insert a package's name into the database file
func NewLogger ¶
func NewLogger(loggerInfo LoggerInfo) *log.Logger
Types ¶
Click to show internal directories.
Click to hide internal directories.