Versions in this module Expand all Collapse all v1 v1.2.1 May 25, 2019 v1.2.0 Apr 7, 2019 Changes in this version + func FileExist(fpath, fname string) bool + func FilePath(fpath, fname, ext string) string + func FileSize(filePath string) (int64, bool, error) + func Get(url, cookies string, reqBody io.Reader) (string, error) + func GetJson(url, cookies string, v interface{}) error + func MKDir(fpath string) + func MKDirs(paths ...string) + func Md5(text string) string + func MergeToMP4(paths []string, mergedFilePath string, filename string) error + func MkDir(fpath string) error + func NewWGProgressBar(wg *sync.WaitGroup) *mpb.Progress + func Request(method, url, cookies string, reqBody io.Reader, header map[string]string) (*http.Response, error) + func WriteFile(fpath, fname string, data []byte) error + func WriteJson(fpath, fname string, data interface{}) error + func WriteJsonS(fpath, fname string, data interface{}) error + func WriteLockFile(fpath, fname string) error + type Progress struct + Message string + Progress ProgressData + Status int + Title string + func NewProgress(title string, size int64, callback func(pg *Progress)) *Progress + func (pg *Progress) Add(len int64) + func (pg *Progress) Error(err error) + func (pg *Progress) Finish() + func (pg *Progress) Start() + func (pg *Progress) Write(p []byte) (n int, err error) + type ProgressData struct + Increase int64 + Progress int64 + Size int64 + Time time.Time