refactor: profile controller;

experiment: figured out a way to add auth middleware to individual methods in controllers, bypassing route group middleware if needed
This commit is contained in:
2025-06-20 17:53:11 +03:00
parent 8007b11731
commit b72645852b
3 changed files with 49 additions and 23 deletions

View File

@@ -1,12 +1,13 @@
package controllers
import (
"go.uber.org/fx"
"go.uber.org/fx"
)
var Module = fx.Module("controllers",
fx.Provide(
NewServiceController,
NewAuthController,
NewProfileController,
),
)