Open atc0005 opened 5 years ago
Later in the video:
If you are defining your own error types you need to be sure that you never define a variable to be your own error type, because if you return that variable it will not appear nil even if no error actually occurred in your function.
This is good guidance.
From the Learn Go in 3 Hours, Chapter 5, Errors video:
I'm going to need to review this further as it isn't "clicking" yet for me.
refs: https://www.packtpub.com/application-development/learn-go-3-hours-video