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

retry

package
v0.102.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abort added in v0.102.1

func Abort(err error) error

Abort wraps given error so that it is returned right away instead of being retried, including by outer retries of errors wrapping it.

func Retriable

func Retriable[T any](fn func() (T, error)) (T, error)

func Run

func Run(cmd func() *exec.Cmd) error

func RunWithCombinedOutput

func RunWithCombinedOutput(cmd func() *exec.Cmd) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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