update

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldCheck

func ShouldCheck(state config.Config) bool

Types

type ReleaseInfo

type ReleaseInfo struct {
	TagName string `json:"tag_name"`
	ID      int
	URL     string `json:"html_url"`
}

func Check

func Check(client *http.Client, state config.Config, currentVersion string) (*ReleaseInfo, error)

Jump to

Keyboard shortcuts

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