refactor: move types package to internal
Tests / Run Tests (pull_request) Successful in 2m7s

This commit is contained in:
2026-03-30 11:50:24 +07:00
parent ae71b46482
commit 4af011b91d
24 changed files with 26 additions and 24 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
package config
import "tunnel_pls/types"
import (
"tunnel_pls/internal/types"
)
type Config interface {
Domain() string
+1 -1
View File
@@ -3,7 +3,7 @@ package config
import (
"os"
"testing"
"tunnel_pls/types"
"tunnel_pls/internal/types"
"github.com/stretchr/testify/assert"
)
+2 -2
View File
@@ -6,7 +6,7 @@ import (
"os"
"strconv"
"strings"
"tunnel_pls/types"
"tunnel_pls/internal/types"
"github.com/joho/godotenv"
)
@@ -32,7 +32,7 @@ type config struct {
bufferSize int
headerSize int
pprofEnabled bool
pprofPort string