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.4.
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 03Single-File App
Start with one Go file, then see why the conventional app layout exists.
Read guide 04Application 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 05Services and Context
Initialize shared dependencies once and resolve them explicitly.
Read guide03