summaryrefslogtreecommitdiffstats
path: root/cmd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Moved main to cmd/web and added routes() methodMatthew Lemon2024-02-083-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.