Well, with the help of templates I learned how to automatically test and build projects on the #GodotEngine, push builds to #itch in two clicks, and create tag-based releases through #Drone.
It remains to figure out how to deplocate projects on #Go directly to the server, so as not to update the microservices of my site manually.
Just for fun I wrote a parser of #TreeNotation on #Go in an evening: https://source.toby3d.me/toby3d/tree
It was efficient, fast, without panics or dependencies, with only 1 (one!) alloc/op. Later I plan to add delimiter configuration, streaming support and line cells.
While working on my own #IndieAuth server, I got so bored with transferring QueryArgs/FormValues into structures with typechecks.
So, I seriously took up studying reflection in #Go from scratch. Overnight I cobbled together a little parser that works with x-www-form-urlencoded data and fills in what I need into the structures via tags. And with custom types support! It works, just like encoding/json package.
Proud of myself.
I'm trying to apply what I learned last week about #CleanArchitecture to 2 projects. Everything goes relatively well and smoothly on #Go, but in #GDScript it's not so obvious how to be when you have "duck typing" without interfaces.
Until recently, programming was out of politics, which allowed humanity to do many incredible things. Now, we tie our hands to aim for political correctness in the code, instead of striving for results. I am extremely disappointed.
https://go.googlesource.com/go/+/8157a31deb75768b5998ed925c15bf20241a3f18 #go #golang