updatechecker

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: MIT Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNewVersion

func GetNewVersion(pkgpath string) (string, error)

func GetPackages

func GetPackages() ([]pkg, error)

func PrintVersionCheck added in v0.0.2

func PrintVersionCheck(pkgname string)

PrintVersionCheck checks for a new version of the given package and prints an update message to Stderr. Errors (no network connection etc) are ignored. If shouldcheck is false of pkgname is all or pkgname is "" nothing is done.

Types

This section is empty.

Jump to

Keyboard shortcuts

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