Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bygui86/go-defer-panic-recover
- Owner: bygui86
- License: apache-2.0
- Created: 2020-03-15T16:55:17.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-11T10:23:42.000Z (almost 4 years ago)
- Last Synced: 2024-11-08T06:07:50.709Z (about 2 months ago)
- Language: Go
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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