Skip to content

phelmkamp/dontpanic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dontpanic

Panic-free alternatives to common Go operations.

Installation

go get github.com/phelmkamp/dontpanic

Usage

func f() (err error) {
    defer dontpanic.Recover(&err)
    // do stuff that might panic...
}

About

Panic-free alternatives to common Go operations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages