summaryrefslogtreecommitdiffstats
path: root/cmd (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-08Moved main to cmd/web and added routes() methodMatthew Lemon3-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.