Documentation
¶
Index ¶
Constants ¶
View Source
const ( //UrlPath for retrieving the latest release version // UrlPath = "https://api.github.com/repos/f1bonacc1/process-compose/releases/latest" UrlPath = "https://shr.pn/process-compose-latest" )
Variables ¶
This section is empty.
Functions ¶
func CheckCanReplace ¶ added in v1.100.0
checkCanReplace verifies that the current binary can be replaced before downloading.
func CompareVersions ¶ added in v1.100.0
CompareVersions compares two semantic version strings. Returns -1 if current < latest, 0 if equal, 1 if current > latest. Non-numeric versions (e.g. "undefined") are treated as older than any numeric version.
func GetLatestReleaseName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.