Start Here
What Changed
High-level changes covered by the latest GoLazy guides.
Latest overview
The v0.1.6 guides focus on making application startup shorter while keeping the request path predictable:
lazyapp.App.ListenAndServereadsADDR, thenPORT, then falls back to:3000, and installs the application context as the server base context.lazyapp.MustSubkeeps embeddedpublicandviewssetup compact.- Cookie-backed sessions are available through
lazysessionand can be enabled fromlazyapp.Config.Sessions. Default names derived from module paths are normalized into valid cookie names. - Controller constructors run when routes are drawn, and requests use pooled controller instances copied from route prototypes.
BeforeActiongives base controllers a request-time hook for shared setup.- Views are cached after helpers are registered, reducing render-path template parsing work.
- The website now has a dedicated Thanks page for the projects and industry choices that shaped GoLazy.
Read Controllers for the pooled controller
lifecycle. Read Views and Layouts for
helper registration and template caching. Read Embedding and Deployment for ListenAndServe and server context
setup.