update

package
v2.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppReleaseFeed    = "https://api.github.com/repos/marcus-crane/khinsider/releases/latest"
	AppPrereleaseFeed = "https://api.github.com/repos/marcus-crane/khinsider/releases"
	IndexReleaseFeed  = "https://api.github.com/repos/marcus-crane/khinsider-index/releases/latest"
)

Variables

This section is empty.

Functions

func GetGithubPrerelease

func GetGithubPrerelease(releaseFeed string) (types.RemoteIndexMetadata, error)

func GetGithubRelease

func GetGithubRelease(releaseFeed string) (types.RemoteIndexMetadata, error)

func GetRemoteAppPrerelease

func GetRemoteAppPrerelease() string

func GetRemoteAppVersion

func GetRemoteAppVersion() string

func GetRemoteIndexVersion

func GetRemoteIndexVersion() string

func IsRemoteVersionNewer

func IsRemoteVersionNewer(localVersion string, remoteVersion string) bool

func ValidateIndexVersion

func ValidateIndexVersion(version string, indexLocation string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL