updatewarn

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckForUpdate = update.Check

CheckForUpdate is a seam for tests.

Functions

func WarnIfOutdated

func WarnIfOutdated(ctx context.Context, currentVersion string, stderr io.Writer)

WarnIfOutdated emits update warnings to stderr when a newer release is available. It is a best-effort warning and never returns an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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