Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DLReleaseFile ¶ added in v0.1.1
DLReleaseFile downloads github content raw files.
func DownloadFile ¶
DownloadFile implements a web file download.
Types ¶
type Option ¶ added in v0.1.1
type Option func(*option)
Option represents download release file option.
func WithDest ¶ added in v0.1.1
WithDest represents downloads file local location option. Default dest is current directory('.').
func WithPattern ¶ added in v0.1.1
WithPattern adds the pattern to search assets option. Default pattern is `*{{.OS}}*{{.ARCH}}*`.
func WithPickRename ¶ added in v0.1.1
WithPickRename represents downloads file inner select and rename option.
func WithRename ¶ added in v0.1.1
WithRename represents downloads file local rename option.
Click to show internal directories.
Click to hide internal directories.