Examples
Runnable, and validated in CI
Every example is its own Go module. CI builds and validates each one, and runs behaviour tests where the workflow needs them, so none of them can quietly go stale.
- accounts-mailPassword reset and email verification, with emails printed to the terminal
- api-with-adminA JSON API and HTML admin sharing models, with foreign keys
- boardThe tutorial's app, tested end to end on SQLite and PostgreSQL
- cacheA bounded in-process cache for a recomputable read
- jsonapiThe smallest runnable JSON-only app
- jwt-apiStateless bearer-token authentication
- notes-starterA starter app you can keep and grow
- realtime-chatWebSocket rooms with graceful shutdown
- reusable-greetingsA reusable app shipping its own migrations and static assets
- reusable-greetings-hostA host project installing the reusable greetings app
- spa-accountsThe backend of a single-page app: accounts' JSON mode with bearer tokens
- uploadsA document locker: one multipart upload, served back to its owner