Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallOptions ¶
type InstallOptions struct { Name string Executable string From string FromGithub bool RemovePreviousVersions bool DoNotFilter bool Silent bool UpdateInplace bool SelectFirst bool }
func (InstallOptions) ToRemoveOptions ¶
func (options InstallOptions) ToRemoveOptions() RemoveOptions
type RemoveOptions ¶
type ZapDlAsset ¶
type ZapDlAsset struct { Name string `json:"name"` Download string `json:"download"` Size string `size:"size"` }
func (ZapDlAsset) GetBaseName ¶
func (asset ZapDlAsset) GetBaseName() string
type ZapIndex ¶
type ZapIndex struct { Id string `json:"id"` Name string `json:"name"` Image string `json:"image"` Maintainer string `json:"maintainer"` Summary string `json:"summary"` Links []ZapSource `json:"links"` }
ZapIndex is used to marshal the index.min.json
type ZapRelease ¶
type ZapReleases ¶
type ZapReleases struct { Releases map[int]ZapRelease Author string Source ZapSource }
func (ZapReleases) GetAssetsFromTag ¶
func (r ZapReleases) GetAssetsFromTag(tag string) (map[string]ZapDlAsset, error)
func (ZapReleases) GetLatestRelease ¶
func (r ZapReleases) GetLatestRelease() string
func (ZapReleases) GetReleasesArray ¶
func (r ZapReleases) GetReleasesArray() []string
func (ZapReleases) SortByReleaseDate ¶
func (r ZapReleases) SortByReleaseDate(i, j int) bool
Click to show internal directories.
Click to hide internal directories.