summaryrefslogtreecommitdiffstats
path: root/internal/models/operation.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adds an operations html templateMatthew Lemon2024-02-111-1/+3
| | | | | Does not contain any dynamic data at this point, i.e. does not actually list the operations from the database - just dummy data at this point.
* Have added a listAll handler for new operation modelMatthew Lemon2024-02-111-5/+38
| | | | | | | This is the first attempt at querying a table with a foreign key relation and returning the result to be used in Go code. Learned quite a bit! Including getting a null pointer error because I forgot to initialise the sql.DB in the application structure.
* Started the Operation modelMatthew Lemon2024-02-111-0/+16