(c *fiber.Ctx)
| 45 | } |
| 46 | |
| 47 | func (controller *appControllerImpl) GetApps(c *fiber.Ctx) error { |
| 48 | apps, err := controller.appService.GetApps(context.Background()) |
| 49 | if err != nil { |
| 50 | return utils.ErrorResponse(c, "Error getting apps") |
| 51 | } |
| 52 | return utils.SuccessResponse(c, apps) |
| 53 | } |
| 54 | |
| 55 | func (controller *appControllerImpl) GetAppById(c *fiber.Ctx) error { |
| 56 | id := c.Params("id") |
nothing calls this directly
no test coverage detected