Versions in this module Expand all Collapse all v0 v0.11.0 Aug 28, 2021 Changes in this version + func Domain(url string) string + func FileLineCounter(r io.Reader) (int, error) + func FileName(name, ext string, length int) string + func FilePath(name, ext string, length int, outputPath string, escape bool) (string, error) + func FileSize(filePath string) (int64, bool, error) + func GetNameAndExt(uri string) (string, string, error) + func GetStringFromJSON(json, path string) string + func ItemInSlice(item, list interface{}) bool + func LimitLength(s string, length int) string + func M3u8URLs(uri string) ([]string, error) + func MatchAll(text, pattern string) [][]string + func MatchOneOf(text string, patterns ...string) []string + func Md5(text string) string + func MergeFilesWithSameExtension(paths []string, mergedFilePath string) error + func MergeToMP4(paths []string, mergedFilePath string, filename string) error + func NeedDownloadList(items string, itemStart, itemEnd, length int) []int + func ParseInputFile(r io.Reader, items string, itemStart, itemEnd int) []string + func Range(min, max int) []int + func Reverse(s string) string + type WaitGroupPool struct + func NewWaitGroupPool(size int) *WaitGroupPool + func (p *WaitGroupPool) Add() + func (p *WaitGroupPool) Done() + func (p *WaitGroupPool) Wait()