gwutils

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatchPanic

func CatchPanic(f func()) (err interface{})

CatchPanic calls a function and returns the error if function paniced

func RepeatUntilPanicless

func RepeatUntilPanicless(f func())

RepeatUntilPanicless runs the function repeatly until there is no panic

func RunPanicless

func RunPanicless(f func()) (panicless bool)

RunPanicless calls a function panic-freely

Types

This section is empty.

Jump to

Keyboard shortcuts

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