summaryrefslogtreecommitdiff
path: root/model/object.go
AgeCommit message (Collapse)Author
2024-04-07model: Add helper function for safe CRUDxengineering
This removes the redundant setup of a database/sql.Tx in each HTTP handler.
2024-04-07model: Add model.Object interfacexengineering
This interface will allow to implement generic functions based on the Object interface which covers the four CRUD methods create, read, update and delete. This should be possible for every object handled by the server.