package
0.0.0-20241209194135-874399dce24d
Repository: https://github.com/snipersap/goprojects.git
Documentation: pkg.go.dev
# README
ReadMe
This repo is the project defer-examples as described in the course Defer, Panic and Recover.
This repo demonstrates the functionality and uses of defer, panic and recover statements in go.
How to test the repo?
Run the files main.go
using the command
go run main.go
.
Run the tests with
go test
Test Result:
In case of confusion, check the commits.
Expected output
Report bugs or suggestions
Please use the Issues feature in github to raise one. There is no guarantee or promise to fix it, because, well, this repo is a project after all. However, all suggestions are welcome.
Disclaimer
Please use the code here at your own risk. This is a sample project, and may not always provide the expected outcome or result.