utils

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreError

func IgnoreError(f func() error)

IgnoreError is useful when you want to defer a func that returns an error, but ignore the error without having the linter complain.

func Must

func Must(errs ...error)

Must panics if any of the errors are not nil. It is intended for use in cases where an error returned would mean a programming error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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