Comment Comment by anttiharju defer isn't bullet proof either. I think there's a linter about it and os.Exit.One can just wrap os.Exit in a helper to get the expected behaviour. parent anttiharju 3 months ago
One can just wrap os.Exit in a helper to get the expected behaviour.