Documentation
¶
Overview ¶
Package util implements utility functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDownloadFailed = fmt.Errorf("downloading file failed") //nolint:revive ErrWritingFile = fmt.Errorf("opening output file failed") //nolint:revive )
Functions ¶
func Download ¶ added in v0.5.3
Download downloads a file from a URL and saves it to the output file.
func ParseLogLevel ¶ added in v0.5.8
ParseLogLevel parses the level from a string
func URLFromFilePath ¶
URLFromFilePath converts the given absolute path to a URL.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.