Gomain.go
1package main
2
3func main() {
4  http.HandleFunc("/health", health)
5  log.Fatal(http.ListenAndServe(":8080", nil))
6}
TypeScript
const task = await upmo.tasks.create({ goal: 'Weekly spend report' });
console.log(task.status); // "Preparing"
Bash
docker compose up -d
curl -s localhost:8300/health   # prints ok
SQL
SELECT vendor, sum(amount) AS total
FROM invoices
WHERE due_at < now() + interval '7 days'
GROUP BY vendor;