diff --git a/internal/app/app.go b/internal/app/app.go index 6b8e833..dfba732 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -2,9 +2,10 @@ package app import ( "database/sql" + "net/http" + "git.katuwoss.dev/JustScreaMy/secret-santa/internal/config" "git.katuwoss.dev/JustScreaMy/secret-santa/internal/middlewares" - "net/http" ) type App struct { diff --git a/internal/app/routes.go b/internal/app/routes.go index afa79c9..00a3a4e 100644 --- a/internal/app/routes.go +++ b/internal/app/routes.go @@ -2,8 +2,9 @@ package app import ( "database/sql" - "git.katuwoss.dev/JustScreaMy/secret-santa/internal/handlers" "net/http" + + "git.katuwoss.dev/JustScreaMy/secret-santa/internal/handlers" ) func AddRoutes(router *http.ServeMux, db *sql.DB) { diff --git a/internal/handlers/user_handler.go b/internal/handlers/user_handler.go index 0eb1b99..2cf6cba 100644 --- a/internal/handlers/user_handler.go +++ b/internal/handlers/user_handler.go @@ -4,8 +4,9 @@ import ( "context" "database/sql" "errors" - "git.katuwoss.dev/JustScreaMy/secret-santa/internal/queries" "net/http" + + "git.katuwoss.dev/JustScreaMy/secret-santa/internal/queries" ) func HandleGetUsers(db *sql.DB) http.HandlerFunc {