Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-02-08 | Moved main to cmd/web and added routes() method | Matthew Lemon | 3 | -0/+45 | |
Started to separate out funtionality: added an application struct and several methods (routes(), home() and a notFound() error). At the moment, the application struct does not carry any other configuration objects or a database pool connection - it is just there to get the routing going. |