update

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Release

type Release struct {
	URL         string           `json:"html_url"`
	SemVer      *version.Version `json:"tag_name"`
	Commitish   string           `json:"target_commitish"`
	PublishedAt time.Time        `json:"published_at"`
	Body        string           `json:"body"`
	Assets      []asset          `json:"assets"`
}

func GetLatestRelease

func GetLatestRelease() (result *Release, err error)

func (*Release) DownloadAndApply

func (r *Release) DownloadAndApply() <-chan updateProgress

func (*Release) IsNewer

func (r *Release) IsNewer() bool

Jump to

Keyboard shortcuts

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