Re:Why Go's Error Handling Is Awesome
by harpratap on Tuesday July 07, 2020 @09:10AM
(#23758819)
Can't you simply return a nil error in case you want to return a value? Check for error and if nothing bad happened use the value.
[ Parent
| on HN ]