Documentation
¶
Overview ¶
Package root provides the root command
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsVersionNewerSemver ¶
func NewCmdRoot ¶
NewCmdRoot creates the root command
func TrimPrefixV ¶
Types ¶
type ReleaseInfo ¶
type ReleaseInfo struct {
TagName string `json:"tag_name"`
Name string `json:"name"`
Body string `json:"body"`
URL string `json:"html_url"`
}
func GetLatestRelease ¶
func GetLatestRelease(repo string) (*ReleaseInfo, error)
GetLatestRelease Get latest release info from GitHub
Click to show internal directories.
Click to hide internal directories.