summaryrefslogtreecommitdiffstats
path: root/internal/models/operation.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-11Adds an operations html templateMatthew Lemon1-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.
2024-02-11Have added a listAll handler for new operation modelMatthew Lemon1-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.
2024-02-11Started the Operation modelMatthew Lemon1-0/+16