6 Introducing gomain, how to properly handle os.Exit in go

garykramlich.blogspot.com posted by Gary Kramlich 17 days ago  

I found myself needing to call os.Exit and still have deferred functions run.  This is the fruits of that labor.

Register to comment or vote on this story