Closed rgerardi closed 1 year ago
It's not considered a good practice to return the value when err is not nil. In this case since the error comes from the previous function call, it's better to return it without the string value since it will be handled and main.
It's not considered a good practice to return the value when err is not nil. In this case since the error comes from the previous function call, it's better to return it without the string value since it will be handled and main.