refactor: use proper module name (#542)

* chore: reorganize go mod

* refactor: use proper module name
This commit is contained in:
Stavros
2025-12-26 17:53:24 +02:00
committed by GitHub
parent 7269fa1b95
commit a1c3e416b6
35 changed files with 130 additions and 101 deletions

View File

@@ -5,7 +5,8 @@ import (
"net"
"net/url"
"strings"
"tinyauth/internal/config"
"github.com/steveiliop56/tinyauth/internal/config"
"github.com/gin-gonic/gin"
"github.com/weppos/publicsuffix-go/publicsuffix"

View File

@@ -2,8 +2,9 @@ package utils_test
import (
"testing"
"tinyauth/internal/config"
"tinyauth/internal/utils"
"github.com/steveiliop56/tinyauth/internal/config"
"github.com/steveiliop56/tinyauth/internal/utils"
"github.com/gin-gonic/gin"
"gotest.tools/v3/assert"

View File

@@ -2,8 +2,9 @@ package decoders_test
import (
"testing"
"tinyauth/internal/config"
"tinyauth/internal/utils/decoders"
"github.com/steveiliop56/tinyauth/internal/config"
"github.com/steveiliop56/tinyauth/internal/utils/decoders"
"gotest.tools/v3/assert"
)

View File

@@ -2,7 +2,8 @@ package utils_test
import (
"testing"
"tinyauth/internal/utils"
"github.com/steveiliop56/tinyauth/internal/utils"
"gotest.tools/v3/assert"
)

View File

@@ -3,7 +3,8 @@ package loaders
import (
"fmt"
"os"
"tinyauth/internal/config"
"github.com/steveiliop56/tinyauth/internal/config"
"github.com/traefik/paerser/cli"
"github.com/traefik/paerser/env"

View File

@@ -3,7 +3,8 @@ package utils_test
import (
"os"
"testing"
"tinyauth/internal/utils"
"github.com/steveiliop56/tinyauth/internal/utils"
"gotest.tools/v3/assert"
)

View File

@@ -2,7 +2,8 @@ package utils_test
import (
"testing"
"tinyauth/internal/utils"
"github.com/steveiliop56/tinyauth/internal/utils"
"gotest.tools/v3/assert"
)

View File

@@ -3,7 +3,8 @@ package utils
import (
"errors"
"strings"
"tinyauth/internal/config"
"github.com/steveiliop56/tinyauth/internal/config"
)
func ParseUsers(users string) ([]config.User, error) {

View File

@@ -3,7 +3,8 @@ package utils_test
import (
"os"
"testing"
"tinyauth/internal/utils"
"github.com/steveiliop56/tinyauth/internal/utils"
"gotest.tools/v3/assert"
)