Documentation
¶
Index ¶
- Constants
- func CheckForNewGiVersion(currentVersion string, options Options) (string, bool)
- func CheckForNewPiVersion(currentVersion string, options Options) (string, bool)
- func ComparePackageVersions(leftVersion, rightVersion string) (int, bool)
- func GetGiUserAgent(version string) string
- func GetLatestGiVersion(currentVersion string, options Options) (string, bool)
- func GetLatestPiVersion(currentVersion string, options Options) (string, bool)
- func GetPiUserAgent(version string) string
- func IsNewerPackageVersion(candidateVersion, currentVersion string) bool
- type LatestGiRelease
- type LatestPiRelease
- type Options
Constants ¶
View Source
const LatestGiVersionURL = "https://api.github.com/repos/nowa/gi/releases/latest"
View Source
const LatestPiVersionURL = LatestGiVersionURL
Variables ¶
This section is empty.
Functions ¶
func CheckForNewGiVersion ¶
func CheckForNewPiVersion ¶
func ComparePackageVersions ¶
func GetGiUserAgent ¶
func GetLatestGiVersion ¶
func GetLatestPiVersion ¶
func GetPiUserAgent ¶
func IsNewerPackageVersion ¶
Types ¶
type LatestGiRelease ¶
func GetLatestGiRelease ¶
func GetLatestGiRelease(currentVersion string, options Options) (LatestGiRelease, bool)
type LatestPiRelease ¶
type LatestPiRelease = LatestGiRelease
func GetLatestPiRelease ¶
func GetLatestPiRelease(currentVersion string, options Options) (LatestPiRelease, bool)
Click to show internal directories.
Click to hide internal directories.