cleanup

package
v1.7.15 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 35

Documentation

Overview

Package providing utilies to help cleanup

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Background

func Background(ctx context.Context) context.Context

Background creates a new context which clears out the parent errors

func Do

func Do(ctx context.Context, do func(context.Context))

Do runs the provided function with a context in which the errors are cleared out and will timeout after 10 seconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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