Documentation
¶
Index ¶
Constants ¶
View Source
const ( OS = runtime.GOOS ARCH = runtime.GOARCH )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GithubRelease ¶
GithubRelease represents a release object from the Github API
func LatestLshRelease ¶
func LatestLshRelease() (*GithubRelease, error)
latestLshRelease returns the latest lsh CLI release
type UpdateFile ¶
func NewUpdateFile ¶
func NewUpdateFile() *UpdateFile
func (*UpdateFile) Download ¶
func (uf *UpdateFile) Download(dstPath, version string) error
func (*UpdateFile) Url ¶
func (uf *UpdateFile) Url(version string) string
Click to show internal directories.
Click to hide internal directories.