3 ms·
So if I'm reading from a file I should use panic recover and not return code checking?? That's not what I've seen in the docs.
by trailfox 14y ago
So if I'm reading from a file I should use panic recover and not return code checking?? That's not what I've seen in the docs.
- jlgreco 14y agoYou seem to be missing the difference between "can you do it" and "should you do it". The reason that you should not is because doing so is not idiomatic Go. You are completely able to do so though.