So well I’ve put this in the “what I’m currently working on this week” thing, and I’ve been wanting to show this here for a while, but I’ve always pushed it back. So here goes. I’m gonna copy and paste a bit I included in the original comment as well, because it feels appropriate.
And quote:“This is my code generator. It grabs the schema from a mysql db, generates db code, http handlers, and a main package that ties them all together. The goal is to keep the schema in the database, along with constraints (this will work wayyyy better with Postgresql). For now I have code that checks against “not null” constraints. Badly, too. There’s a lot of ugly stuff in there. Oh my god, why am I clicking Post.”
Still feeling queasy about posting this here, I’m super intimidated. But I need the external output at this point, and I need to know that this can help, or that it’s not excessively stupid. :P