If you need to save state across executions, you should write a daemon instead.
0 karma · joined January 7, 2019
- Mail server (OpenSMTPD)
- IMAP (Dovecot)
- CVS server for my projects.
- httpd(8) for my website.
I still need to add rspamd for spam check. But insofar, I received just one spam E-mail.
Normally, my users will just dump the whole log in an e-mail with a "doesn't work" message attached.
IMHO, a logging facility should grow with the project and I think the standard logging package in go is the right size.
About bubbling up the errors: absolutely! Always let the caller handle it!
In the meantime, collegues are leaving the gig, making my level of stress go up.