How do you handle errors in Go?
There are two types of errors in Go:
Syntax errors
Runtime errors
Syntax errors are usually easy to fix, because they are usually caused by a typo. Runtime errors are more difficult to fix, because they are usually caused by a bug in the code.
yesicbap.hashnode.dev1 min read