From 2dae0c868737535cd35c394af55ffe2fdfe59101 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 10 May 2023 14:23:22 -0400 Subject: [PATCH] refactor: rename services to controllers --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index bab6ae7..86ac043 100644 --- a/main.go +++ b/main.go @@ -63,11 +63,11 @@ func main() { // Register the AccountController with the MVC framework and attach it to the "/api/account" path mvc.Configure(v1.Party("/account"), func(app *mvc.Application) { - app.Handle(new(service.AccountService)) + app.Handle(new(controller.AccountController)) }) mvc.Configure(v1.Party("/auth"), func(app *mvc.Application) { - app.Handle(new(service.AuthService)) + app.Handle(new(controller.AuthController)) }) mvc.Configure(v1.Party("/files"), func(app *mvc.Application) {