refactor: move client page view file to client folder and reorganize file structure

This commit is contained in:
2024-08-18 12:59:19 +07:00
parent 97a9e72d7b
commit 7df02c270b
27 changed files with 29 additions and 30 deletions

View File

@ -2,7 +2,7 @@ package userSessionTerminateHandler
import (
"github.com/fossyy/filekeeper/session"
userView "github.com/fossyy/filekeeper/view/user"
"github.com/fossyy/filekeeper/view/client/user"
"net/http"
)

View File

@ -5,7 +5,7 @@ import (
"encoding/base64"
"fmt"
"github.com/fossyy/filekeeper/cache"
userTotpSetupView "github.com/fossyy/filekeeper/view/user/totp"
"github.com/fossyy/filekeeper/view/client/user/totp"
"image/png"
"net/http"
"time"

View File

@ -3,11 +3,11 @@ package userHandler
import (
"github.com/a-h/templ"
"github.com/fossyy/filekeeper/types"
"github.com/fossyy/filekeeper/view/client/user"
"net/http"
"github.com/fossyy/filekeeper/logger"
"github.com/fossyy/filekeeper/session"
userView "github.com/fossyy/filekeeper/view/user"
)
var log *logger.AggregatedLogger