move components to top level internal

This commit is contained in:
Sky Johnson 2025-08-14 17:19:23 -05:00
parent b778469365
commit 53567c9603
8 changed files with 3 additions and 16 deletions

View File

@ -5,11 +5,11 @@ import (
"strings"
"dk/internal/auth"
"dk/internal/components"
"dk/internal/models/users"
"dk/internal/password"
"dk/internal/router"
"dk/internal/session"
"dk/internal/template/components"
"github.com/valyala/fasthttp"
)

View File

@ -1,13 +0,0 @@
// Package routes organizes HTTP route handlers for the Dragon Knight application.
// Routes are organized by feature area in separate packages to maintain clean
// separation of concerns and make the codebase more maintainable.
//
// # Structure
//
// - auth/ - Authentication routes (login, register, logout)
// - api/ - API endpoints
// - web/ - Web interface routes
//
// Each route package should provide a Setup function that registers its routes
// with the router and returns any necessary dependencies or configuration.
package routes

View File

@ -2,9 +2,9 @@ package routes
import (
"dk/internal/actions"
"dk/internal/components"
"dk/internal/models/users"
"dk/internal/router"
"dk/internal/template/components"
"strconv"
)

View File

@ -3,6 +3,7 @@ package routes
import (
"dk/internal/actions"
"dk/internal/auth"
"dk/internal/components"
"dk/internal/helpers"
"dk/internal/middleware"
"dk/internal/models/items"
@ -10,7 +11,6 @@ import (
"dk/internal/models/users"
"dk/internal/router"
"dk/internal/session"
"dk/internal/template/components"
"slices"
"strconv"
)