pyadav / iamyadav_v0

I'm a versatile 🧑🏽‍💻 Javascript & Golang developer.
https://www.iamyadav.com
6 stars 3 forks source link

post/error-handling-in-golang #1

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Error handling in Golang

Unlike other language, golang does explicit error checking. In golang, errors are values and we can transform any type into error by implementing the error interface which has a single Error() method.

https://iamyadav.com/post/error-handling-in-golang