Updated module path to change to gitea
This commit is contained in:
@@ -3,7 +3,7 @@ package db
|
||||
import (
|
||||
"context"
|
||||
|
||||
"gitlab.larvit.se/power-plan/auth-api/src/utils"
|
||||
"gitea.larvit.se/pwrpln/auth-api/src/utils"
|
||||
)
|
||||
|
||||
// RenewalTokenCreate obtain a new renewal token
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"gitea.larvit.se/pwrpln/auth-api/src/db"
|
||||
jwt "github.com/dgrijalva/jwt-go"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"gitlab.larvit.se/power-plan/auth-api/src/db"
|
||||
)
|
||||
|
||||
func (h Handlers) returnTokens(account db.Account, c *fiber.Ctx) error {
|
||||
|
||||
@@ -3,10 +3,10 @@ package handlers
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"gitea.larvit.se/pwrpln/auth-api/src/db"
|
||||
"gitea.larvit.se/pwrpln/auth-api/src/utils"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/google/uuid"
|
||||
"gitlab.larvit.se/power-plan/auth-api/src/db"
|
||||
"gitlab.larvit.se/power-plan/auth-api/src/utils"
|
||||
)
|
||||
|
||||
type AccountInput struct {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"gitea.larvit.se/pwrpln/auth-api/src/db"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/google/uuid"
|
||||
"gitlab.larvit.se/power-plan/auth-api/src/db"
|
||||
)
|
||||
|
||||
// AccountUpdateFields godoc
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"gitea.larvit.se/pwrpln/auth-api/src/db"
|
||||
jwt "github.com/dgrijalva/jwt-go"
|
||||
"gitlab.larvit.se/power-plan/auth-api/src/db"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,18 +6,18 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"gitea.larvit.se/pwrpln/auth-api/src/db"
|
||||
h "gitea.larvit.se/pwrpln/auth-api/src/handlers"
|
||||
"gitea.larvit.se/pwrpln/auth-api/src/utils"
|
||||
swagger "github.com/arsmn/fiber-swagger/v2"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/google/uuid"
|
||||
"github.com/jackc/pgx/v4/pgxpool"
|
||||
"github.com/joho/godotenv"
|
||||
"gitlab.larvit.se/power-plan/auth-api/src/db"
|
||||
h "gitlab.larvit.se/power-plan/auth-api/src/handlers"
|
||||
"gitlab.larvit.se/power-plan/auth-api/src/utils"
|
||||
"go.uber.org/zap"
|
||||
|
||||
// docs are generated by Swag CLI, you have to import them.
|
||||
_ "gitlab.larvit.se/power-plan/auth-api/src/docs"
|
||||
_ "gitea.larvit.se/pwrpln/auth-api/src/docs"
|
||||
)
|
||||
|
||||
// Don't put in utils, because it creates import cycle with db... just left it here for now
|
||||
|
||||
Reference in New Issue
Block a user