update

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package update checks whether a newer release of tickli is available and upgrades the binary in place by re-running `go install`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(stdout, stderr io.Writer) error

Run upgrades tickli in place by re-running `go install`.

func StartCheck

func StartCheck(current string) func(w io.Writer)

StartCheck launches an update check in the background and returns a function that prints a one-line notice to w when a newer version is available.

The check runs concurrently with the caller's work (which is typically blocked on network I/O of its own), so it adds no perceptible latency. The returned function waits at most printGrace for the check to finish.

Types

This section is empty.

Jump to

Keyboard shortcuts

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