Versions in this module Expand all Collapse all v1 v1.0.11 Apr 6, 2024 v1.0.10 Jan 4, 2024 Changes in this version + type GitAssets struct + FileSize uint64 + TagName string + TimeStamp string + Url string + func GetRelease(url string, pattern string) (asset *GitAssets, tag string) + type GitRelease struct + AssetsUrl string + Name string + TagName string + TimeStamp string + type Updater struct + func NewUpdaterObj() (result *Updater) + func (obj *Updater) Copy(src string, dst string) (int64, error) + func (obj *Updater) DownloadFile(filepath string, url string, fileSize uint64) error + func (obj *Updater) ExtractExec(zipfile string, destinationDir string) (err error) + type WriteCounter struct + Max uint64 + Total uint64 + func (wc *WriteCounter) Write(p []byte) (int, error) + func (wc WriteCounter) PrintProgress()