Exit with error code in go?

Issue What’s the idiomatic way to exit a program with some error code? The documentation for Exit says “The program terminates immediately; deferred functions are not run.”, and log.Fatal just calls Exit. For things that aren’t heinous errors, terminating the

Continue reading