The Tako guide
Tako is a Go framework over Google Cloud Run: you write pure business
logic — APIs, workers, websites — as ordinary Go packages, and the
tako CLI runs it locally and provisions it onto GCP. No Terraform,
no Dockerfiles, no YAML: the analyzer reads your declarations and
derives the infrastructure, the IAM, and the wiring.
The guide is the six examples, in the order the framework grows:
- hello — APIs, request binding, the dev loop, your first deploy.
- shortlink — entities, transactions, queues and workers, exactly-once effects under chaos.
- gallery — buckets, signed URLs, event fan-out, dead letters, cron, cache/secret/metrics, locks.
- journal — a server-rendered website: pages, forms, CSRF, htmx fragments, sanitized markdown, Google sign-in.
- shop — many services from one repo: a generated TypeScript client, private services and typed calls, background jobs, an exactly-one singleton.
- blog — a Hugo-built static site with htmx islands: the generator owns the pages, tako runs the build and serves the dynamic fragments.
Two stories frame everything:
- The local story — what
tako devandtako testactually run (spoiler: your process, no emulators, no Docker). - The cloud story — what
tako deploycreates, the permissions model, the ONE manual setup step, and whatdestroydeliberately leaves behind.
Two pages answer the questions that cut across every feature: testing (how you write tests against an app) and errors (every refusal the analyzer can make, and why it exists).
And the feature reference answers by feature instead of by example: one page per feature, every page the same shape (declare · use · local · cloud · test · errors · not yet).