Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bygui86/go-panic
Example of panic and recover in Golang
https://github.com/bygui86/go-panic
Last synced: 2 days ago
JSON representation
Example of panic and recover in Golang
- Host: GitHub
- URL: https://github.com/bygui86/go-panic
- Owner: bygui86
- License: apache-2.0
- Created: 2020-04-23T19:43:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T06:14:17.000Z (over 4 years ago)
- Last Synced: 2024-11-08T06:07:51.355Z (about 2 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go panic
Example of panic and recover in Golang
## Run
```shell script
export GO111MODULE=on
go run main.go
```---
## Links
https://medium.com/swlh/simple-guide-to-panic-handling-and-recovery-in-golang-72d6181ae3e8