db, handlers, and interfaces
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/dryrun Pipeline was successful
ci/woodpecker/push/publish-tag Pipeline was successful
ci/woodpecker/push/publish-latest Pipeline was successful

This commit is contained in:
2024-06-15 21:33:14 -04:00
parent 3d29dadaf3
commit 09a957ca4b
12 changed files with 160 additions and 95 deletions

View File

@@ -13,8 +13,8 @@ func main() {
todosStore := db.NewTodoStore()
ts := services.NewTodoService(&todosStore)
homeHandler := handlers.NewHomeHandler(*ts)
todoHandler := handlers.NewTodoHandler(*ts)
homeHandler := handlers.NewHomeHandler(ts)
todoHandler := handlers.NewTodoHandler(ts)
router := http.NewServeMux()