Skip to content

Toolnado/errorhole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Errorhole

Convenient error handling

Installation

To install errorhole, use go get:

go get github.com/Toolnado/errorhole

Usage

Here's a basic example of how to use errorhole:

func main() {
	defer errorhole.Catch() // Waiting for an error
	// do something...
	errorhole.Nil(err) // Check error
}

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes. Be sure to follow the project's coding guidelines and include tests for any new features or bug fixes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Convenient error handling

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages