Made a library? Written a blog post? Found a useful tutorial? Share it with the Go community here or just enjoy what everyone else has found!
This package allows to run functions on app exit - like an app-level defer statement. Functions are placed inside a priority queue and are called based on their priority (not the order they've got added): onexit.Posted by: Kaveh Shahbazian