News for hackers. Stuff that matters.
Re:Ask HN: What GO web framework do you use? by elt on Friday July 22, 2022 @12:44AM (#32188608)
My server's binary is more than a server, it can execute one off tasks, etc. For example I can execute the server binary with special arguments, ex "server --task admin-reports" in a cron job.

For the database I use Postgresql with the standard library's database/sql package (using lib/pq as the driver).

For scheduled emails and tasks, I store them in Postgres and I have a task that is run through my server binary every few hours (ex: "server --task scheduled-tasks").

There are no comments on this comment yet.