Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Force bool GitHubReleaseUrl = "https://api.github.com/repos/youcd/esDump/releases/latest" )
View Source
var (
PathErr = errors.New("please enter the correct path")
)
View Source
var (
Version string
)
Functions ¶
func DownloadFileProgress ¶ added in v0.1.5
func DownloadFileProgress(url, filename string)
Types ¶
type ReleaseVersion ¶ added in v0.1.5
type ReleaseVersion struct { TagName string `json:"tag_nmae"` SwName string `json:"sw_name"` DownloadUrl string `json:"download_url"` }
func GetRelease ¶ added in v0.1.5
func GetRelease(OS string) (v ReleaseVersion)
Click to show internal directories.
Click to hide internal directories.