Documentation
¶
Index ¶
- func CacheFile(path, content string, overwrite bool) (string, error)
- func CanMakeRequest() bool
- func Contains(slice []string, item string) bool
- func DownloadFile(url, outputPath, token string) error
- func EnsureDirExists(path string) error
- func FileExists(path string) bool
- func FindMostRecentFile(pattern string) (string, error)
- func GetFlatListOfColumn(data [][]string, filters map[string]string, targetCol int) []string
- func GetListOfUniqueEntries(data [][]string, columns []int) [][]string
- func LoadCacheFile(path string) (string, error)
- func ParseUrl(urlStr string) *url.URL
- func RenameFileOccurances(filename, oldScope, newScope string, occurances int) error
- func ResetRequestCounters()
- func UploadFile(url, inputPath, token string) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanMakeRequest ¶
func CanMakeRequest() bool
func DownloadFile ¶
func EnsureDirExists ¶
func FileExists ¶
func FindMostRecentFile ¶
func GetFlatListOfColumn ¶
GetFlatListOfColumn returns unique values from a specified column that match all provided filters
func GetListOfUniqueEntries ¶
GetListOfUniqueEntries returns unique combinations of specified columns
func LoadCacheFile ¶
func RenameFileOccurances ¶
func ResetRequestCounters ¶
func ResetRequestCounters()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.