buildutil

package
v1.35.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bail

func Bail(err error)

func Bailf

func Bailf(format string, args ...any)

func Check

func Check(err error)

func Must

func Must[T any](val T, err error) T

func RunParallel

func RunParallel(functions ...func())

RunParallel runs the given functions in parallel, bailing with the first error

func TarGzip

func TarGzip(srcDirectory string, tarFile string) error

Types

type Bailout

type Bailout struct {
	Err error
}

func (Bailout) Error

func (b Bailout) Error() string

Jump to

Keyboard shortcuts

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