Documentation
¶
Index ¶
- func BigramSearch(keyword string, items []string) []string
- func CompareStrings(str1, str2 string) float64
- func CopyFile(src, dst string) error
- func CountImageFiles(archiveFilePath string) (int, error)
- func DownloadImage(downloadDir, fileName, fileUrl string) error
- func ExtractFirstImage(archivePath, outputFolder string) error
- func ExtractNumber(name string) (int, error)
- func ProcessImage(fromPath, toPath string) error
- func RemovePatterns(path string) string
- func Sluggify(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BigramSearch ¶
BigramSearch performs a bigram search algorithm
func CompareStrings ¶
compareStrings compares two strings using a bigram-based similarity algorithm
func CountImageFiles ¶
CountImageFiles counts the number of image files in an archive (zip, cbz, rar, or cbr).
func DownloadImage ¶
func ExtractFirstImage ¶
func ExtractNumber ¶
func ProcessImage ¶
processImage function to handle image processing from file to file
func RemovePatterns ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.