Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessURL ¶ added in v0.2.0
func ProcessURL(gf *FilteredAsset) (string, io.Reader, error)
ProcessURL processes a FilteredAsset by uncompressing/unarchiving the URL of the asset.
func SanitizeName ¶
SanitizeName removes irrelevant information from the file name in case it exists
Types ¶
type FilteredAsset ¶
type FilteredAsset struct { RepoName string Name string DisplayName string URL string ExtraHeaders map[string]string // contains filtered or unexported fields }
func FilterAssets ¶
func FilterAssets(repoName string, as []*Asset) (*FilteredAsset, error)
FilterAssets receives a slice of GL assets and tries to select the proper one and ask the user to manually select one in case it can't determine it
func (FilteredAsset) String ¶
func (g FilteredAsset) String() string
Click to show internal directories.
Click to hide internal directories.