3 May 2021 (Mon)

09:07:46
#
Life
First email from my new machine.
I didn’t have my desktop Debian machine for a long time and now I have one set up.
I rewrote my procmail/formail recipe, especially the part where I wrote complex shell script to generate my folder rules.
I rewrote that 4 lines of shell script in 200 lines of Go, with unit tests.
The part that took the longest time was finding out how to write unit tests in Go, and
how to properly use go.mod to be able to import packages from subdirectories.
I guess that’s part of the fun.

I wonder if this set up is not what others are using
anymore. My formatil/procmail/wanderlust set up is 20 years
old.



Source link

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *