Posts tagged with: errors

Error handling in Golang

7 min read

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.