GoLazy Guides
Build the whole app.
Understand every layer.
These guides explain the conventions and framework APIs behind a GoLazy application. Start with the sample app, then move into the layer you need.
These guides document GoLazy v0.1.8.
Choose another guide version from the version selector.
01
Start Here
Build a working mental model before changing the application.Getting Started
Run the sample application and trace one request through the stack.
Read guide 02What Changed
Read the high-level changes in this guide version.
Read guide 03Upgrade Guide
Move an application from the previous GoLazy release to this one.
Read guide 04Single-File App
Start with one Go file, then see why the conventional app layout exists.
Read guide 05Application Structure
Understand where controllers, views, services, routes, and assets live.
Read guide02
Core Framework
The framework APIs used by every request.Controllers
Construct request-local controllers, run actions, and return HTTP errors.
Read guide 02Routing
Register route scopes, controller actions, resources, and route metadata.
Read guide 03Dispatcher
Understand middleware, router dispatch, static files, and request flow.
Read guide 04Views and Layouts
Render escaped template data through embedded application layouts.
Read guide 05Forms
Build model-aware form partials, field helpers, and REST method overrides.
Read guide 06Services and Context
Initialize shared dependencies once and resolve them explicitly.
Read guide03
Digging Deeper
Ship and maintain complete GoLazy applications.Testing
Test packages in isolation and exercise the complete HTTP application.
Read guide 02Stylesheets
Compile Tailwind CSS into embedded public stylesheets.
Read guide 03JavaScript Libraries
Bundle browser libraries with lazy js while keeping app scripts debuggable.
Read guide 04Embedding and Deployment
Embed templates and assets, build one binary, and configure its address.
Read guide