moving insert to another model and done so in database internal

This commit is contained in:
samantha42
2026-03-25 21:58:08 +01:00
parent 2dccca5da1
commit d491b9c14c
11 changed files with 85 additions and 83 deletions

View File

@@ -50,6 +50,7 @@ func main() {
// Revenue
http.HandleFunc("POST /add/revenue/entry", handlers.AddRevenueEntryHandler(db))
http.HandleFunc("POST /api/v1/revenue/add", handlers.AddRevenueEntryHandler(db))
//http.HandleFunc("GET /revenue/report", handlers.GetRevenueReportHandler(db))