Implement Journal read/write

This commit is contained in:
Martin Pander
2022-11-07 19:19:23 +01:00
parent ac6d3dbe8e
commit c3de3dd21f
7 changed files with 378 additions and 44 deletions

View File

@ -26,8 +26,7 @@ func main() {
mapper := mapping.NewMapperImpl()
// DefaultApiService := dashapi.NewDefaultApiService()
DefaultApiService := service.NewDefaultApiService(db, mapper)
DefaultApiService := service.NewApiService(db, mapper)
DefaultApiController := dashapi.NewDefaultApiController(DefaultApiService)
router := dashapi.NewRouter(DefaultApiController)