summaryrefslogtreecommitdiffstats
path: root/cmd/web/handlers.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added nav partialMatthew Lemon2024-02-081-2/+2
| | | | | Added a partial html for the navigation bar. So far it just has a link to "Home" on it.
* Created a /organisations/list routeMatthew Lemon2024-02-081-1/+20
| | | | | | There is also some basic CSS here. Also introduced a proper structured logger.
* First proper use of templatesMatthew Lemon2024-02-081-1/+1
|
* First appearance of HTML on the home pageMatthew Lemon2024-02-081-1/+33
|
* Moved main to cmd/web and added routes() methodMatthew Lemon2024-02-081-0/+18
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.