Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bygui86/go-defer-panic-recover

Project to test defer, panic and recover functions of Golang
https://github.com/bygui86/go-defer-panic-recover

Last synced: 2 days ago
JSON representation

Project to test defer, panic and recover functions of Golang

Awesome Lists containing this project

README

        

# Go defer,panic and recover

Project to test defer, panic and recover functions of Golang

## Run
```shell
go run {example-folder}/main.go
```

---

## Links
- https://medium.com/better-programming/error-handling-in-golang-with-panic-defer-and-recover-d77db7ae3875
- https://blog.learngoprogramming.com/5-gotchas-of-defer-in-go-golang-part-iii-36a1ab3d6ef1
- https://pkg.go.dev/mod/github.com/pkg/errors