update

package
v0.0.0-...-acaaaf6 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const RepoExporter string = "safetyculture-exporter"

Variables

This section is empty.

Functions

func MapAssets

func MapAssets(assets []github.ReleaseAsset) map[string]string

MapAssets Maps name to browser_download_url

func VersionGreaterThanOrEqual

func VersionGreaterThanOrEqual(v, w string) bool

VersionGreaterThanOrEqual returns true if version is greater or equal

Types

type ReleaseInfo

type ReleaseInfo struct {
	Version      string
	ChangelogURL string
	DownloadURL  string
}

ReleaseInfo is the details of an available release.

func Check

func Check(currentVersion string, repoName string) *ReleaseInfo

Check returns release info of a new version of this tool if available.

Jump to

Keyboard shortcuts

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