guard

package
v0.0.0-...-7935e33 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: BSD-3-Clause, MPL-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatchPanic

func CatchPanic(fn func() (interface{}, error)) (out interface{}, err error)

func CatchPanicBoolError

func CatchPanicBoolError(fn func() (bool, error)) (result bool, err error)

func CatchPanicErrorOnly

func CatchPanicErrorOnly(fn func() error) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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