refactor: use own paerser library instead of traefik

This commit is contained in:
Stavros
2026-04-10 17:10:28 +03:00
parent 8b91ce09bd
commit 5ce19f58d1
16 changed files with 30 additions and 170 deletions

View File

@@ -1,7 +1,7 @@
package decoders
import (
"github.com/traefik/paerser/parser"
"github.com/tinyauthapp/paerser/parser"
)
func DecodeLabels[T any](labels map[string]string, root string) (T, error) {

View File

@@ -6,8 +6,8 @@ import (
"github.com/steveiliop56/tinyauth/internal/config"
"github.com/traefik/paerser/cli"
"github.com/traefik/paerser/env"
"github.com/tinyauthapp/paerser/cli"
"github.com/tinyauthapp/paerser/env"
)
type EnvLoader struct{}

View File

@@ -4,9 +4,9 @@ import (
"os"
"github.com/rs/zerolog/log"
"github.com/traefik/paerser/cli"
"github.com/traefik/paerser/file"
"github.com/traefik/paerser/flag"
"github.com/tinyauthapp/paerser/cli"
"github.com/tinyauthapp/paerser/file"
"github.com/tinyauthapp/paerser/flag"
)
type FileLoader struct{}

View File

@@ -3,8 +3,8 @@ package loaders
import (
"fmt"
"github.com/traefik/paerser/cli"
"github.com/traefik/paerser/flag"
"github.com/tinyauthapp/paerser/cli"
"github.com/tinyauthapp/paerser/flag"
)
type FlagLoader struct{}