Puzzle 19 Explanation: Go Error
Understand how err is used in Go.
We'll cover the following...
We'll cover the following...
Try it yourself
Try executing the code below to see the result.
Explanation
The if statement in line 19 says that err != nil, but err prints out as < nil >.
Furthermore, err in line 14 ...