Help us shape the future of Go! Take the 2026 Go Developer Survey

update

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enabled

func Enabled(version string) bool

Enabled excludes opt-outs and builds that cannot be compared to stable releases.

Types

type Notification

type Notification func(io.Writer) error

Notification records and writes a pending notice after a command finishes.

func Check

func Check(ctx context.Context, version string) (Notification, error)

Check returns a pending notice without displaying it. A recovered state error may accompany a notice so callers can report diagnostics without losing it.

Jump to

Keyboard shortcuts

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