Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example to demonstrate error handling #2

Open
sagar-jadhav opened this issue Sep 29, 2019 · 1 comment
Open

Example to demonstrate error handling #2

sagar-jadhav opened this issue Sep 29, 2019 · 1 comment
Labels
code good first issue Good for newcomers Hacktoberfest Issues to participate in Hacktoberfest 2021 v2.0.0

Comments

@sagar-jadhav
Copy link
Owner

sagar-jadhav commented Sep 29, 2019

Add code example let say err_handling.go which demonstrates following:

  • Error handling
  • Use of defer, panic, & recover

Refer Hello World for reference

https://blog.golang.org/error-handling-and-go

@sagar-jadhav sagar-jadhav added good first issue Good for newcomers Hacktoberfest Issues to participate in Hacktoberfest 2021 labels Sep 29, 2019
@DGKSK8LIFE
Copy link
Contributor

I made a pr, that adds a file that implements panic and defer.

@sagar-jadhav sagar-jadhav added defer-candidate v1.0.0 Label for version 1.0.0 work items labels Dec 21, 2019
sagar-jadhav pushed a commit that referenced this issue Jan 10, 2020
Formating change- To show each point on new line
@sagar-jadhav sagar-jadhav added code v2.0.0 and removed defer-candidate Hacktoberfest Issues to participate in Hacktoberfest 2021 v1.0.0 Label for version 1.0.0 work items labels Mar 19, 2020
@sagar-jadhav sagar-jadhav changed the title Example on defer, panic & recover Add example to demonstrate error handling Mar 19, 2020
@sagar-jadhav sagar-jadhav changed the title Add example to demonstrate error handling Example to demonstrate error handling Sep 11, 2020
@sagar-jadhav sagar-jadhav added the Hacktoberfest Issues to participate in Hacktoberfest 2021 label Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code good first issue Good for newcomers Hacktoberfest Issues to participate in Hacktoberfest 2021 v2.0.0
Projects
None yet
Development

No branches or pull requests

2 participants