Versions in this module Expand all Collapse all v0 v0.0.4 Jun 27, 2021 Changes in this version + func DownloadNewestGo(ctx context.Context, saveTo string, progress ...httpx.ProgressFunc) error + func DownloadNewestUpx(ctx context.Context, saveTo string, progress ...httpx.ProgressFunc) error + type GoFile struct + Arch string + Filename string + Kind string + Os string + Sha256 string + Size int64 + Version string + func GetNewestGoVersion(ctx context.Context) (*GoFile, error) + type UpxVersion struct + BrowserDownloadUrl string + ContentType string + CreatedAt time.Time + ID int64 + Name string + Size int64 + State string + UpdatedAt time.Time + Url string + func GetNewestUpxVersion(ctx context.Context) (version *UpxVersion, err error)