aboutsummaryrefslogtreecommitdiff
path: root/pkg/view/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/view/auth.go')
-rw-r--r--pkg/view/auth.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/view/auth.go b/pkg/view/auth.go
index 3f9e414..6b096d9 100644
--- a/pkg/view/auth.go
+++ b/pkg/view/auth.go
@@ -6,15 +6,15 @@ import (
"github.com/valyala/fasthttp"
"git.sr.ht/~gabrielgio/img"
- "git.sr.ht/~gabrielgio/img/pkg/components/auth"
"git.sr.ht/~gabrielgio/img/pkg/ext"
+ "git.sr.ht/~gabrielgio/img/pkg/service"
)
type AuthView struct {
- userController *auth.Controller
+ userController *service.AuthController
}
-func NewAuthView(userController *auth.Controller) *AuthView {
+func NewAuthView(userController *service.AuthController) *AuthView {
return &AuthView{
userController: userController,
}